summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2008-10-02 12:57:13 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2008-10-02 12:57:13 +0000
commit8d98e70e42fcec39a78b45b7652880634e38bf88 (patch)
treee94a6be8177b3bddc478cb80b718acd564d158b1 /tests
parent2d3712f930916c5f45ef3a4d68a56e0add2a621c (diff)
Promoted --verbosity to be a top level option for all management commands. Also added -v as a consistent short form of --verbosity. This is mostly to save Malcolm's poor arthritic fingers.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runtests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runtests.py b/tests/runtests.py
index dc0f9df63c..cc9594b5fe 100755
--- a/tests/runtests.py
+++ b/tests/runtests.py
@@ -142,12 +142,12 @@ def django_tests(verbosity, interactive, test_labels):
if not test_labels or model_name in test_labels:
extra_tests.append(InvalidModelTestCase(model_label))
try:
- # Invalid models are not working apps, so we cannot pass them into
+ # Invalid models are not working apps, so we cannot pass them into
# the test runner with the other test_labels
test_labels.remove(model_name)
except ValueError:
pass
-
+
# Run the test suite, including the extra validation tests.
from django.test.simple import run_tests
failures = run_tests(test_labels, verbosity=verbosity, interactive=interactive, extra_tests=extra_tests)