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

Method test_get_default_box

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

Source from the content-addressed store, hash-verified

772 assert "a.b.c.d" not in bx_dot
773
774 def test_get_default_box(self):
775 bx = Box(default_box=True)
776 assert bx.get("test", 4) == 4
777 assert isinstance(bx.get("a"), Box)
778 assert bx.get("test", None) is None
779
780 def test_inheritance_copy(self):
781 class Box2(Box):

Callers

nothing calls this directly

Calls 2

getMethod · 0.95
BoxClass · 0.90

Tested by

no test coverage detected