Fixed test after 90b40ff

This commit is contained in:
Andrej730
2023-10-19 11:02:39 +05:00
parent a4daa0e3d9
commit aa0c42e1ec
+1
View File
@@ -319,6 +319,7 @@ class TestGetDrawingGroup(NewFile):
tool.Ifc.set(ifc)
element = ifc.createIfcAnnotation()
group = ifcopenshell.api.run("group.add_group", ifc)
group.ObjectType = "DRAWING"
ifcopenshell.api.run("group.assign_group", ifc, products=[element], group=group)
assert subject.get_drawing_group(element) == group