Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/psf/cachecontrol
/ test_load_by_version_v2
Method
test_load_by_version_v2
tests/test_serialization.py:46–50 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
44
assert resp is None
45
46
def
test_load_by_version_v2(self):
47
data = b
"cc=2,somedata"
48
req = Mock()
49
resp = self.serializer.loads(req, data)
50
assert resp is None
51
52
def
test_load_by_version_v3(self):
53
data = b
"cc=3,somedata"
Callers
nothing calls this directly
Calls
1
loads
Method · 0.45
Tested by
no test coverage detected