diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2007-02-18 08:07:18 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2007-02-18 08:07:18 +0000 |
| commit | fb509ee8d3c67efd28beef2df463b62ef883c17a (patch) | |
| tree | 56e8bd04832c7405bc2fc2b7812d7532f0b91f39 /django/test/simple.py | |
| parent | 895633a80d04ba95b2efdb3e32ddf560c0693339 (diff) | |
Fixed #2916 -- Moved syncdb call out of simple test runner and into create_test_db, to match documentation and simplify testing process for people using other test frameworks. Thanks, remco@diji.biz.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4541 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/test/simple.py')
| -rw-r--r-- | django/test/simple.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/django/test/simple.py b/django/test/simple.py index 88e6b49925..0cecc6b4fc 100644 --- a/django/test/simple.py +++ b/django/test/simple.py @@ -1,6 +1,5 @@ import unittest, doctest from django.conf import settings -from django.core import management from django.test.utils import setup_test_environment, teardown_test_environment from django.test.utils import create_test_db, destroy_test_db from django.test.testcases import OutputChecker, DocTestRunner @@ -78,7 +77,6 @@ def run_tests(module_list, verbosity=1, extra_tests=[]): old_name = settings.DATABASE_NAME create_test_db(verbosity) - management.syncdb(verbosity, interactive=False) unittest.TextTestRunner(verbosity=verbosity).run(suite) destroy_test_db(old_name, verbosity) |
