소스 검색

Removed unused cache.tests.CacheUtils._set_cache().

Unused since its introduction in 71a03e01aa19cbde08e915d156abf39b67d904ef.
Claude Paroz 5 년 전
부모
커밋
6fba85b766
1개의 변경된 파일0개의 추가작업 그리고 5개의 파일을 삭제
  1. 0 5
      tests/cache/tests.py

+ 0 - 5
tests/cache/tests.py

@@ -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.