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

Method test_delete_invalidates_cache

tests/test_adapter.py:60–63  ·  view source on GitHub ↗
(self, url, sess)

Source from the content-addressed store, hash-verified

58 assert not r2.from_cache
59
60 def test_delete_invalidates_cache(self, url, sess):
61 r2 = sess.delete(url)
62 sess.get(url)
63 assert not r2.from_cache
64
65 def test_close(self):
66 cache = mock.Mock(spec=DictCache)

Callers

nothing calls this directly

Calls 2

deleteMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected