mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-29 00:03:17 +00:00
Fixed test after 90b40ff
This commit is contained in:
@@ -319,6 +319,7 @@ class TestGetDrawingGroup(NewFile):
|
|||||||
tool.Ifc.set(ifc)
|
tool.Ifc.set(ifc)
|
||||||
element = ifc.createIfcAnnotation()
|
element = ifc.createIfcAnnotation()
|
||||||
group = ifcopenshell.api.run("group.add_group", ifc)
|
group = ifcopenshell.api.run("group.add_group", ifc)
|
||||||
|
group.ObjectType = "DRAWING"
|
||||||
ifcopenshell.api.run("group.assign_group", ifc, products=[element], group=group)
|
ifcopenshell.api.run("group.assign_group", ifc, products=[element], group=group)
|
||||||
assert subject.get_drawing_group(element) == group
|
assert subject.get_drawing_group(element) == group
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user