mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
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
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user