mirror of https://github.com/django/django.git
Removed TestServeAdminMedia.
It should have been removed when the ADMIN_MEDIA_PREFIX setting was deprecated.
This commit is contained in:
parent
fa5f936b48
commit
1d9d39fa1c
|
@ -821,18 +821,6 @@ class TestServeStaticWithURLHelper(TestServeStatic, TestDefaults):
|
|||
"""
|
||||
|
||||
|
||||
class TestServeAdminMedia(TestServeStatic):
|
||||
"""
|
||||
Test serving media from django.contrib.admin.
|
||||
"""
|
||||
def _response(self, filepath):
|
||||
return self.client.get(
|
||||
posixpath.join(settings.STATIC_URL, 'admin/', filepath))
|
||||
|
||||
def test_serve_admin_media(self):
|
||||
self.assertFileContains('css/base.css', 'body')
|
||||
|
||||
|
||||
class FinderTestCase(object):
|
||||
"""
|
||||
Base finder test mixin.
|
||||
|
|
Loading…
Reference in New Issue