From 5c02c75068704b1c51544dd331753619304b173d Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sat, 21 Feb 2015 13:56:12 +0100 Subject: [PATCH] [1.8.x] Removed TestServeAdminMedia. It should have been removed when the ADMIN_MEDIA_PREFIX setting was deprecated. Backport of 1d9d39fa1c60896e31360d5f8d6b972979ee7c95 from master --- tests/staticfiles_tests/tests.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/tests/staticfiles_tests/tests.py b/tests/staticfiles_tests/tests.py index e4b04b5228..935409eed1 100644 --- a/tests/staticfiles_tests/tests.py +++ b/tests/staticfiles_tests/tests.py @@ -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.