diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2015-02-21 13:56:12 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-02-21 13:05:11 -0500 |
| commit | 5c02c75068704b1c51544dd331753619304b173d (patch) | |
| tree | 2e722523aed266eb57b44fb177b9539cb95225a3 /tests | |
| parent | 850b2ca7945563d7ba8fc3a12c1bd368e440f4a5 (diff) | |
[1.8.x] Removed TestServeAdminMedia.
It should have been removed when the ADMIN_MEDIA_PREFIX setting was deprecated.
Backport of 1d9d39fa1c60896e31360d5f8d6b972979ee7c95 from master
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/staticfiles_tests/tests.py | 12 |
1 files changed, 0 insertions, 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. |
