mirror of
https://github.com/django/django.git
synced 2024-12-28 12:06:22 +00:00
[1.8.x] Removed TestServeAdminMedia.
It should have been removed when the ADMIN_MEDIA_PREFIX setting was deprecated.
Backport of 1d9d39fa1c
from master
This commit is contained in:
parent
850b2ca794
commit
5c02c75068
@ -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):
|
class FinderTestCase(object):
|
||||||
"""
|
"""
|
||||||
Base finder test mixin.
|
Base finder test mixin.
|
||||||
|
Loading…
Reference in New Issue
Block a user