summaryrefslogtreecommitdiff
path: root/tests/cache
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2013-06-29 18:34:41 +0200
committerAymeric Augustin <aymeric.augustin@m4x.org>2013-06-29 18:49:37 +0200
commitacd7b34aafe352ef604edcb73f75041c5cbba6b9 (patch)
treeeecb1df66a2070e9a357380fba89febd38c488f4 /tests/cache
parent8b9b8d3bda09eb1b447631182d06c6c5e51425f6 (diff)
Advanced deprecation warnings for Django 1.7.
Diffstat (limited to 'tests/cache')
-rw-r--r--tests/cache/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/cache/tests.py b/tests/cache/tests.py
index 7413a4aae6..060f27e6e2 100644
--- a/tests/cache/tests.py
+++ b/tests/cache/tests.py
@@ -28,7 +28,7 @@ from django.middleware.cache import (FetchFromCacheMiddleware,
from django.template import Template
from django.template.response import TemplateResponse
from django.test import TestCase, TransactionTestCase, RequestFactory
-from django.test.utils import override_settings, IgnorePendingDeprecationWarningsMixin
+from django.test.utils import override_settings, IgnoreDeprecationWarningsMixin
from django.utils import six, timezone, translation, unittest
from django.utils.cache import (patch_vary_headers, get_cache_key,
learn_cache_key, patch_cache_control, patch_response_headers)
@@ -1594,7 +1594,7 @@ def hello_world_view(request, value):
},
},
)
-class CacheMiddlewareTest(IgnorePendingDeprecationWarningsMixin, TestCase):
+class CacheMiddlewareTest(IgnoreDeprecationWarningsMixin, TestCase):
def setUp(self):
super(CacheMiddlewareTest, self).setUp()