mirror of
https://github.com/django/django.git
synced 2025-01-30 12:09:25 +00:00
[1.8.x] Removed TestServeAdminMedia.
It should have been removed when the ADMIN_MEDIA_PREFIX setting was deprecated. Backport of 1d9d39fa1c60896e31360d5f8d6b972979ee7c95 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):
|
||||
"""
|
||||
Base finder test mixin.
|
||||
|
Loading…
x
Reference in New Issue
Block a user