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

Method test_get_box_config

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

Source from the content-addressed store, hash-verified

862 assert bx[1] == 2
863
864 def test_get_box_config(self):
865 bx = Box()
866 bx_config = bx.__getattr__("_box_config")
867 assert bx_config
868 with pytest.raises(BoxKeyError):
869 bx["_box_config"]
870
871 def test_pop(self):
872 bx = Box(a=4, c={"d": 3}, sub_box=Box(test=1))

Callers

nothing calls this directly

Calls 2

__getattr__Method · 0.95
BoxClass · 0.90

Tested by

no test coverage detected