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

Method test_auto_attr

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

Source from the content-addressed store, hash-verified

424 b.merge_update("test")
425
426 def test_auto_attr(self):
427 a = Box(test_dict, default_box=True)
428 assert isinstance(a.a.a.a.a, Box)
429 a.b.b = 4
430 assert a.b.b == 4
431
432 def test_set_default_dict(self):
433 a = Box(test_dict)

Callers

nothing calls this directly

Calls 1

BoxClass · 0.90

Tested by

no test coverage detected