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

Method test_inside_boxlist

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

Source from the content-addressed store, hash-verified

2289 assert b.my_key.v == 1
2290
2291 def test_inside_boxlist(self):
2292 b = _no_create_box(items_list=[{}])
2293 b.items_list[0].x.y = 1
2294 assert b.to_dict() == {"items_list": [{"x": {"y": 1}}]}
2295
2296 def test_default_box_attr_dict(self):
2297 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