diff options
| author | Claude Paroz <claude@2xlibre.net> | 2012-04-08 21:13:32 +0000 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2012-04-08 21:13:32 +0000 |
| commit | 5c53e30607014163872e89c221b206992a9acfef (patch) | |
| tree | 2c4666cb92ee1e26c95b9f6fe9703288452fd133 /tests/regressiontests/admin_scripts | |
| parent | 4f623524125ce059951ab879d34b50f6024225f4 (diff) | |
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
Diffstat (limited to 'tests/regressiontests/admin_scripts')
| -rw-r--r-- | tests/regressiontests/admin_scripts/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
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): |
