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

Method test_get_default_box

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

Source from the content-addressed store, hash-verified

1099 assert "a.b.c.d" not in bx_dot
1100
1101 def test_get_default_box(self):
1102 bx = Box(default_box=True)
1103 assert bx.get("test", 4) == 4
1104 assert isinstance(bx.get("a"), Box)
1105 assert bx.get("test", None) is None
1106
1107 def test_inheritance_copy(self):
1108 class Box2(Box):

Callers

nothing calls this directly

Calls 2

getMethod · 0.95
BoxClass · 0.90

Tested by

no test coverage detected