Fix failing tests since Github test runner only has IFC4X3_ADD1 not TC1 compiled in.

This commit is contained in:
Dion Moult
2023-07-07 12:33:16 +10:00
parent 73d2146a6c
commit fac527b0fe
+4 -4
View File
@@ -166,10 +166,10 @@ class TestFile(test.bootstrap.IFC4):
assert f.schema_version == (4, 3, 1, 0)
def test_creating_a_specific_version(self):
f = ifcopenshell.file(schema_version=(4, 3, 0, 1))
assert f.schema == "IFC4X3_TC1"
assert f.schema_identifier == "IFC4X3_TC1"
assert f.schema_version == (4, 3, 0, 1)
f = ifcopenshell.file(schema_version=(4, 3, 1, 0))
assert f.schema == "IFC4X3"
assert f.schema_identifier == "IFC4X3_ADD1"
assert f.schema_version == (4, 3, 1, 0)
def test_creating_an_entity(self):
element = self.file.create_entity("IfcPerson")