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

Method test_conversion_box

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

Source from the content-addressed store, hash-verified

526 Box.from_yaml("lol")
527
528 def test_conversion_box(self):
529 bx = Box(extended_test_dict, conversion_box=True)
530 assert bx.Key_2.Key_3 == "Value 3"
531 assert bx.x3 == "howdy"
532 assert bx.xnot == "true"
533 assert bx.x3_4 == "test"
534 with pytest.raises(AttributeError):
535 getattr(bx, "(3, 4)")
536
537 def test_frozen(self):
538 bx = Box(extended_test_dict, frozen_box=True)

Callers

nothing calls this directly

Calls 1

BoxClass · 0.90

Tested by

no test coverage detected