summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
Diffstat (limited to 'django')
-rw-r--r--django/test/simple.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/django/test/simple.py b/django/test/simple.py
index 064193daa0..a11759e4e1 100644
--- a/django/test/simple.py
+++ b/django/test/simple.py
@@ -124,9 +124,9 @@ def build_suite(app_module):
return suite
def build_test(label):
- """Construct a test case a test with the specified label. Label should
- be of the form model.TestClass or model.TestClass.test_method. Returns
- an instantiated test or test suite corresponding to the label provided.
+ """Construct a test case with the specified label. Label should be of the
+ form model.TestClass or model.TestClass.test_method. Returns an
+ instantiated test or test suite corresponding to the label provided.
"""
parts = label.split('.')
@@ -271,10 +271,10 @@ class DjangoTestSuiteRunner(object):
"""
self.setup_test_environment()
- old_names = self.setup_databases()
-
suite = self.build_suite(test_labels, extra_tests)
+ old_names = self.setup_databases()
+
result = self.run_suite(suite)
self.teardown_databases(old_names)