(self, model)
| 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"}) |