From 5c53e30607014163872e89c221b206992a9acfef Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Sun, 8 Apr 2012 21:13:32 +0000 Subject: Fixed #18035 -- Removed deprecated AdminMediaHandler, as per official deprecation timeline. Thanks Jannis Leidel and Ramiro Morales for the review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17879 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/regressiontests/admin_scripts/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/regressiontests/admin_scripts') diff --git a/tests/regressiontests/admin_scripts/tests.py b/tests/regressiontests/admin_scripts/tests.py index 68ebda064a..4c4edbbb71 100644 --- a/tests/regressiontests/admin_scripts/tests.py +++ b/tests/regressiontests/admin_scripts/tests.py @@ -1095,12 +1095,12 @@ class ManageTestCommand(AdminScriptTestCase): class ManageRunserver(AdminScriptTestCase): def setUp(self): - from django.core.management.commands.runserver import BaseRunserverCommand + from django.core.management.commands.runserver import Command def monkey_run(*args, **options): return - self.cmd = BaseRunserverCommand() + self.cmd = Command() self.cmd.run = monkey_run def assertServerSettings(self, addr, port, ipv6=None, raw_ipv6=False): -- cgit v1.3