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

Method test_get_default_box

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

Source from the content-addressed store, hash-verified

1034 assert "a.b.c.d" not in bx_dot
1035
1036 def test_get_default_box(self):
1037 bx = Box(default_box=True)
1038 assert bx.get("test", 4) == 4
1039 assert isinstance(bx.get("a"), Box)
1040 assert bx.get("test", None) is None
1041
1042 def test_inheritance_copy(self):
1043 class Box2(Box):

Callers

nothing calls this directly

Calls 2

getMethod · 0.95
BoxClass · 0.90

Tested by

no test coverage detected