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

Method test_unknown_function

src/ifcedit/tests/test_run.py:41–44  ·  view source on GitHub ↗
(self, model)

Source from the content-addressed store, hash-verified

39 assert result["result"]["type"] == "IfcPropertySet"
40
41 def test_unknown_function(self, model):
42 result = run_api(model, "root", "nonexistent", {})
43 assert result["ok"] is False
44 assert "Cannot find" in result["error"]
45
46 def test_unknown_parameter(self, model):
47 result = run_api(model, "root", "create_entity", {"bogus_param": "value"})

Callers

nothing calls this directly

Calls 1

run_apiFunction · 0.90

Tested by

no test coverage detected