summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2016-03-02 17:53:12 -0800
committerTim Graham <timograham@gmail.com>2016-03-05 12:59:30 -0500
commit8d3fcfa39e8aab5618d9b7f6a592006e9af8cefc (patch)
tree356d8ffec99fc2dcd235bf6d18a3c3f211b4f2d5 /django
parent9ed4a788aa8d6ba6a57a2daa15253c3047048dfb (diff)
Cleaned up tests to use call_command() instead of Command.execute().
Diffstat (limited to 'django')
-rw-r--r--django/core/management/commands/test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/management/commands/test.py b/django/core/management/commands/test.py
index 313e12f271..21f2a97850 100644
--- a/django/core/management/commands/test.py
+++ b/django/core/management/commands/test.py
@@ -61,7 +61,7 @@ class Command(BaseCommand):
if options.get('liveserver') is not None:
os.environ['DJANGO_LIVE_TEST_SERVER_ADDRESS'] = options['liveserver']
- del options['liveserver']
+ del options['liveserver']
test_runner = TestRunner(**options)
failures = test_runner.run_tests(test_labels)