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

Method setup_method

tests/test_expires_heuristics.py:110–112  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

108
109class TestLastModified:
110 def setup_method(self):
111 self.sess = Session()
112 self.cached_sess = CacheControl(self.sess, heuristic=LastModified())
113
114 def test_last_modified(self, url):
115 the_url = url + "optional_cacheable_request"

Callers

nothing calls this directly

Calls 2

CacheControlFunction · 0.90
LastModifiedClass · 0.90

Tested by

no test coverage detected