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

Method test_project_info

src/ifcquery/tests/test_info.py:28–32  ·  view source on GitHub ↗
(self, model)

Source from the content-addressed store, hash-verified

26 assert result["container"]["name"] == "Ground Floor"
27
28 def test_project_info(self, model):
29 project = model.by_type("IfcProject")[0]
30 result = info(model, project)
31 assert result["type"] == "IfcProject"
32 assert result["attributes"]["Name"] == "TestProject"
33
34 def test_all_attributes_serializable(self, model):
35 """All attribute values should be JSON-serializable (no entity instances)."""

Callers

nothing calls this directly

Calls 2

infoFunction · 0.90
by_typeMethod · 0.45

Tested by

no test coverage detected