1
0
mirror of https://github.com/django/django.git synced 2025-10-24 22:26:08 +00:00

Cleaned up tests to use call_command() instead of Command.execute().

This commit is contained in:
Jon Dufresne
2016-03-02 17:53:12 -08:00
committed by Tim Graham
parent 9ed4a788aa
commit 8d3fcfa39e
4 changed files with 20 additions and 34 deletions

View File

@@ -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)