(self, model)
| 33 | assert result["result"]["type"] == "IfcRelContainedInSpatialStructure" |
| 34 | |
| 35 | def test_add_pset(self, model): |
| 36 | wall = model.by_type("IfcWall")[0] |
| 37 | result = run_api(model, "pset", "add_pset", {"product": str(wall.id()), "name": "Pset_WallCommon"}) |
| 38 | assert result["ok"] is True |
| 39 | assert result["result"]["type"] == "IfcPropertySet" |
| 40 | |
| 41 | def test_unknown_function(self, model): |
| 42 | result = run_api(model, "root", "nonexistent", {}) |