fix test_removing_existing_element_representations_and_mapping_type_representations

Started failing after 8061e22. Test was instantiating abstract IfcProductRepresentation
This commit is contained in:
Andrej730
2024-11-11 16:23:13 +05:00
parent c5aad82e3d
commit c61e3670a8
@@ -32,8 +32,9 @@ class TestMapTypeRepresentations(test.bootstrap.IFC4):
def test_removing_existing_element_representations_and_mapping_type_representations(self):
context = self.file.createIfcGeometricRepresentationSubContext()
element = self.file.createIfcWall(
Representation=self.file.createIfcProductRepresentation(
Representations=[self.file.createIfcShapeRepresentation(ContextOfItems=context)]
Representation=self.file.create_entity(
"IfcProductDefinitionShape",
Representations=[self.file.createIfcShapeRepresentation(ContextOfItems=context)],
)
)
type = self.file.createIfcWallType(