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

Method test_invalid

test/test_comments.py:158–160  ·  view source on GitHub ↗
(self, args, error)

Source from the content-addressed store, hash-verified

156 ],
157 )
158 def test_invalid(self, args, error):
159 with pytest.raises(BoxValueError, match=error):
160 Box(a=1).set_comment(*args)
161
162 def test_missing_keys(self):
163 with pytest.raises(BoxKeyError, match="existing keys"):

Callers

nothing calls this directly

Calls 2

BoxClass · 0.90
set_commentMethod · 0.45

Tested by

no test coverage detected