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

Method test_unknown_function

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

Source from the content-addressed store, hash-verified

58 assert result["ok"] is True
59
60 def test_unknown_function(self, loaded_session):
61 result = loaded_session.ifc_edit("root.nonexistent", "{}")
62 assert result["ok"] is False
63 assert "Cannot find" in result["error"]
64
65 def test_unknown_parameter(self, loaded_session):
66 result = loaded_session.ifc_edit("root.create_entity", json.dumps({"bogus": "value"}))

Callers

nothing calls this directly

Calls 1

ifc_editMethod · 0.80

Tested by

no test coverage detected