MCPcopy Index your code
hub / github.com/psf/cachecontrol / setup_method

Method setup_method

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

Source from the content-addressed store, hash-verified

226 url = "http://foo.com/bar"
227
228 def setup_method(self):
229 self.c = CacheController(DictCache(), serializer=NullSerializer())
230
231 def req(self, headers):
232 mock_request = Mock(url=self.url, headers=headers)

Callers

nothing calls this directly

Calls 3

CacheControllerClass · 0.90
DictCacheClass · 0.90
NullSerializerClass · 0.85

Tested by

no test coverage detected