mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #12672 -- Added the ability to configure which applications are available on which database.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12290 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -284,17 +284,11 @@ class DjangoTestSuiteRunner(object):
|
||||
Returns the number of tests that failed.
|
||||
"""
|
||||
self.setup_test_environment()
|
||||
|
||||
suite = self.build_suite(test_labels, extra_tests)
|
||||
|
||||
old_config = self.setup_databases()
|
||||
|
||||
result = self.run_suite(suite)
|
||||
|
||||
self.teardown_databases(old_config)
|
||||
|
||||
self.teardown_test_environment()
|
||||
|
||||
return self.suite_result(result)
|
||||
|
||||
def run_tests(test_labels, verbosity=1, interactive=True, failfast=False, extra_tests=None):
|
||||
|
||||
Reference in New Issue
Block a user