summaryrefslogtreecommitdiff
path: root/tests/cache
diff options
context:
space:
mode:
authorAnubhav Joshi <anubhav9042@gmail.com>2014-04-05 11:34:46 +0530
committerTim Graham <timograham@gmail.com>2014-04-06 17:33:43 -0400
commitcd914e31c9a889f18c50c15b4f6ee4959624001f (patch)
tree291036036473baaf6de621f66a6198ed4bc12451 /tests/cache
parentd2f4553d705951ca8043d687f9493c559f494a0c (diff)
Fixed #21977 -- Deprecated SimpleTestCase.urls
Diffstat (limited to 'tests/cache')
-rw-r--r--tests/cache/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cache/tests.py b/tests/cache/tests.py
index e6bde06842..c3aea981fc 100644
--- a/tests/cache/tests.py
+++ b/tests/cache/tests.py
@@ -2007,9 +2007,9 @@ class TestWithTemplateResponse(TestCase):
self.assertTrue(response.has_header('ETag'))
+@override_settings(ROOT_URLCONF="admin_views.urls")
class TestEtagWithAdmin(TestCase):
# See https://code.djangoproject.com/ticket/16003
- urls = "admin_views.urls"
def test_admin(self):
with self.settings(USE_ETAGS=False):