diff --git a/django/test/simple.py b/django/test/simple.py
index c9adfd2..acf8764 100644
|
a
|
b
|
def dependency_ordered(test_databases, dependencies):
|
| 220 | 220 | test_databases = deferred |
| 221 | 221 | return ordered_test_databases |
| 222 | 222 | |
| | 223 | |
| | 224 | |
| 223 | 225 | class DjangoTestSuiteRunner(object): |
| | 226 | suiteclass = unittest.TestSuite |
| | 227 | runnerclass = unittest.TextTestRunner |
| | 228 | |
| 224 | 229 | def __init__(self, verbosity=1, interactive=True, failfast=True, **kwargs): |
| 225 | 230 | self.verbosity = verbosity |
| 226 | 231 | self.interactive = interactive |
| … |
… |
class DjangoTestSuiteRunner(object):
|
| 232 | 237 | unittest.installHandler() |
| 233 | 238 | |
| 234 | 239 | def build_suite(self, test_labels, extra_tests=None, **kwargs): |
| 235 | | suite = unittest.TestSuite() |
| | 240 | suite = self.suiteclass() |
| 236 | 241 | |
| 237 | 242 | if test_labels: |
| 238 | 243 | for label in test_labels: |
| … |
… |
class DjangoTestSuiteRunner(object):
|
| 308 | 313 | return old_names, mirrors |
| 309 | 314 | |
| 310 | 315 | def run_suite(self, suite, **kwargs): |
| 311 | | return unittest.TextTestRunner(verbosity=self.verbosity, failfast=self.failfast).run(suite) |
| | 316 | return self.runnerclass(verbosity=self.verbosity, failfast=self.failfast).run(suite) |
| 312 | 317 | |
| 313 | 318 | def teardown_databases(self, old_config, **kwargs): |
| 314 | 319 | from django.db import connections |