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

Method test_unknown_parameter

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

Source from the content-addressed store, hash-verified

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"})
48 assert result["ok"] is False
49 assert "Unknown parameter" in result["error"]
50
51 def test_bad_entity_reference(self, model):
52 result = run_api(model, "pset", "add_pset", {"product": "999999", "name": "Pset_WallCommon"})

Callers

nothing calls this directly

Calls 1

run_apiFunction · 0.90

Tested by

no test coverage detected