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

Method test_is_in

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

Source from the content-addressed store, hash-verified

1101 assert b.test_ == "safe"
1102
1103 def test_is_in(self):
1104 bx = Box()
1105 dbx = Box(default_box=True)
1106 assert "a" not in bx
1107 assert "a" not in dbx
1108 bx["b"] = 1
1109 dbx["b"] = {}
1110 assert "b" in bx
1111 assert "b" in dbx
1112
1113 def test_through_queue(self):
1114 my_box = Box(a=4, c={"d": 3})

Callers

nothing calls this directly

Calls 1

BoxClass · 0.90

Tested by

no test coverage detected