Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cdgriffith/Box
/ BadKeys
Class
BadKeys
test/test_box.py:260–262 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
258
assert bx.b.c == 2
259
260
class
BadKeys(KeysOnly):
261
def
keys(self):
262
return
[
"a"
,
"missing"
]
263
264
with
pytest.raises(KeyError):
265
Box(BadKeys())
Callers
1
test_box_from_keys_protocol_object
Method · 0.85
Calls
no outgoing calls
Tested by
1
test_box_from_keys_protocol_object
Method · 0.68