mirror of
https://github.com/django/django.git
synced 2025-01-30 20:19:22 +00:00
Removed unused cache.tests.CacheUtils._set_cache().
Unused since its introduction in 71a03e01aa19cbde08e915d156abf39b67d904ef.
This commit is contained in:
parent
54b7af7eb4
commit
6fba85b766
5
tests/cache/tests.py
vendored
5
tests/cache/tests.py
vendored
@ -1620,11 +1620,6 @@ class CacheUtils(SimpleTestCase):
|
||||
request._cache_update_cache = True if not update_cache else update_cache
|
||||
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):
|
||||
headers = (
|
||||
# Initial vary, new headers, resulting vary.
|
||||
|
Loading…
x
Reference in New Issue
Block a user