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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user