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

Method test_auto_attr

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

Source from the content-addressed store, hash-verified

375 b.merge_update("test")
376
377 def test_auto_attr(self):
378 a = Box(test_dict, default_box=True)
379 assert isinstance(a.a.a.a.a, Box)
380 a.b.b = 4
381 assert a.b.b == 4
382
383 def test_set_default_dict(self):
384 a = Box(test_dict)

Callers

nothing calls this directly

Calls 1

BoxClass · 0.90

Tested by

no test coverage detected