mirror of
https://github.com/django/django.git
synced 2025-07-29 08:04:27 +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:
parent
4f62352412
commit
5c53e30607
11 changed files with 31 additions and 164 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue