Opened 18 years ago
Closed 18 years ago
#2916 closed defect (fixed)
[patch] create_test_db() in the django's unittest framework is supposed to automatically run syncdb
Description ¶
According to the documentation (http://www.djangoproject.com/documentation/testing/) django.test.util.create_test_db is supposed to do a syncdb. In the current implementation django's own simple testrunner does the syncdb. This patch moves the call to syncdb from simple.py to utils.py so people using other test frameworks (I use py.test) will also have an automatic syncdb.
Change History (5)
by , 18 years ago
comment:1 by , 18 years ago
Owner: | changed from | to
---|
comment:2 by , 18 years ago
Summary: | [PATCH] create_test_db() in the django's unittest framework is supposed to automatically run syncdb → [patch] create_test_db() in the django's unittest framework is supposed to automatically run syncdb |
---|
comment:3 by , 18 years ago
Triage Stage: | Unreviewed → Ready for checkin |
---|
comment:4 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
patch