Removed unused cache.tests.CacheUtils._set_cache().
Unused since its introduction in 71a03e01aa
.
This commit is contained in:
parent
54b7af7eb4
commit
6fba85b766
|
@ -1620,11 +1620,6 @@ class CacheUtils(SimpleTestCase):
|
||||||
request._cache_update_cache = True if not update_cache else update_cache
|
request._cache_update_cache = True if not update_cache else update_cache
|
||||||
return request
|
return request
|
||||||
|
|
||||||
def _set_cache(self, request, msg):
|
|
||||||
response = HttpResponse()
|
|
||||||
response.content = msg
|
|
||||||
return UpdateCacheMiddleware().process_response(request, response)
|
|
||||||
|
|
||||||
def test_patch_vary_headers(self):
|
def test_patch_vary_headers(self):
|
||||||
headers = (
|
headers = (
|
||||||
# Initial vary, new headers, resulting vary.
|
# Initial vary, new headers, resulting vary.
|
||||||
|
|
Loading…
Reference in New Issue