MCPcopy Create free account
hub / github.com/cdgriffith/Box / test_reads_never_create

Method test_reads_never_create

test/test_box.py:2240–2244  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2238 assert b.to_dict() == {"foo": {"bar": 1}}
2239
2240 def test_reads_never_create(self):
2241 b = _no_create_box()
2242 b.x.y.z
2243 b["a"]["b"]
2244 assert b == {}
2245
2246 def test_deep_assignment_and_item_forms(self):
2247 b = _no_create_box()

Callers

nothing calls this directly

Calls 1

_no_create_boxFunction · 0.85

Tested by

no test coverage detected