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

Method test_contains

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

Source from the content-addressed store, hash-verified

1094 assert "missing" not in bx
1095
1096 def test_contains(self):
1097 bx_dot = Box(a=Box(b=Box(c=Box())), box_dots=True)
1098 assert "a.b.c" in bx_dot
1099 assert "a.b.c.d" not in bx_dot
1100
1101 def test_get_default_box(self):
1102 bx = Box(default_box=True)

Callers

nothing calls this directly

Calls 1

BoxClass · 0.90

Tested by

no test coverage detected