Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/psf/cachecontrol
/ test_load_by_version_v0
Method
test_load_by_version_v0
tests/test_serialization.py:34–38 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
32
}
33
34
def
test_load_by_version_v0(self):
35
data = b
"cc=0,somedata"
36
req = Mock()
37
resp = self.serializer.loads(req, data)
38
assert resp is None
39
40
def
test_load_by_version_v1(self):
41
data = b
"cc=1,somedata"
Callers
nothing calls this directly
Calls
1
loads
Method · 0.45
Tested by
no test coverage detected