MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / test_unknown_method

Method test_unknown_method

src/ifcmcp/tests/test_shape.py:60–62  ·  view source on GitHub ↗
(self, loaded_session)

Source from the content-addressed store, hash-verified

58 assert len(params_with_desc) > 0
59
60 def test_unknown_method(self, loaded_session):
61 with pytest.raises(ValueError, match="no method"):
62 loaded_session.ifc_shape_docs("nonexistent_method")
63
64 def test_private_method_rejected(self, loaded_session):
65 with pytest.raises(ValueError):

Callers

nothing calls this directly

Calls 1

ifc_shape_docsMethod · 0.80

Tested by

no test coverage detected