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

Method test_inside_boxlist

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

Source from the content-addressed store, hash-verified

2354 assert b.my_key.v == 1
2355
2356 def test_inside_boxlist(self):
2357 b = _no_create_box(items_list=[{}])
2358 b.items_list[0].x.y = 1
2359 assert b.to_dict() == {"items_list": [{"x": {"y": 1}}]}
2360
2361 def test_default_box_attr_dict(self):
2362 b = _no_create_box(default_box_attr={"d": 1})

Callers

nothing calls this directly

Calls 2

_no_create_boxFunction · 0.85
to_dictMethod · 0.80

Tested by

no test coverage detected