From 8d3fcfa39e8aab5618d9b7f6a592006e9af8cefc Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Wed, 2 Mar 2016 17:53:12 -0800 Subject: Cleaned up tests to use call_command() instead of Command.execute(). --- django/core/management/commands/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'django') 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) -- cgit v1.3