Converting brickschema projects to IFC libraries now works on IFC2X3

This commit is contained in:
Dion Moult
2021-11-29 20:19:58 +11:00
parent 622ff05247
commit 825ffe03b0
5 changed files with 20 additions and 4 deletions
+4
View File
@@ -63,6 +63,10 @@ class TestExportBrickAttributes(NewFile):
def test_run(self):
assert subject.export_brick_attributes("ex:#floor") == {"Identification": "ex:#floor", "Name": "floor"}
def test_run_ifc2x3(self):
tool.Ifc.set(ifcopenshell.file(schema="IFC2X3"))
assert subject.export_brick_attributes("ex:#floor") == {"ItemReference": "ex:#floor", "Name": "floor"}
class TestGetBrickPath(NewFile):
def test_run(self):