mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-29 00:03:17 +00:00
nest.assign_object - support batching #4474
This commit is contained in:
@@ -38,7 +38,7 @@ class TestAssignObject:
|
||||
ifc.get_entity("relating_obj").should_be_called().will_return("relating_object")
|
||||
ifc.get_entity("related_obj").should_be_called().will_return("related_object")
|
||||
ifc.run(
|
||||
"nest.assign_object", related_object="related_object", relating_object="relating_object"
|
||||
"nest.assign_object", related_objects=["related_object"], relating_object="relating_object"
|
||||
).should_be_called().will_return("rel")
|
||||
nest.disable_editing("related_obj").should_be_called()
|
||||
collector.assign("relating_obj").should_be_called()
|
||||
|
||||
Reference in New Issue
Block a user