Commit 5c02c750 authored by Aymeric Augustin's avatar Aymeric Augustin Committed by Tim Graham
Browse files

[1.8.x] Removed TestServeAdminMedia.

It should have been removed when the ADMIN_MEDIA_PREFIX setting was deprecated.

Backport of 1d9d39fa from master
parent 850b2ca7
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
@@ -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.