MCPcopy Create free account
hub / github.com/psf/cachecontrol / cc

Method cc

tests/test_cache_control.py:38–40  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

36
37 @pytest.fixture()
38 def cc(self):
39 # Cache controller fixture
40 return CacheController(Mock(), serializer=Mock())
41
42 def test_no_cache_non_20x_response(self, cc):
43 # No caching without some extra headers, so we add them

Callers

nothing calls this directly

Calls 1

CacheControllerClass · 0.90

Tested by

no test coverage detected