diff --git a/django/test/simple.py b/django/test/simple.py
index c1f915b..92c7a5d 100644
|
a
|
b
|
from django.conf import settings
|
| 3 | 3 | from django.db.models import get_app, get_apps |
| 4 | 4 | from django.test import _doctest as doctest |
| 5 | 5 | from django.test.utils import setup_test_environment, teardown_test_environment |
| 6 | | from django.test.testcases import OutputChecker, DocTestRunner, TestCase |
| | 6 | from django.test.testcases import OutputChecker, DocTestRunner, TestCase, TransactionTestCase |
| 7 | 7 | |
| 8 | 8 | # The module name for tests outside models.py |
| 9 | 9 | TEST_MODULE = 'tests' |
| … |
… |
def run_tests(test_labels, verbosity=1, interactive=True, failfast=False, extra_
|
| 204 | 204 | for test in extra_tests: |
| 205 | 205 | suite.addTest(test) |
| 206 | 206 | |
| 207 | | suite = reorder_suite(suite, (TestCase,)) |
| | 207 | suite = reorder_suite(suite, (TestCase, doctest.DocTestCase, TransactionTestCase,)) |
| 208 | 208 | |
| 209 | 209 | old_name = settings.DATABASE_NAME |
| 210 | 210 | from django.db import connection |