Fix critical bug where duplicate orphaned collections were created in the background.

This commit is contained in:
Dion Moult
2023-02-27 20:12:39 +11:00
parent d9b54c923c
commit b25233a748
6 changed files with 38 additions and 22 deletions
-2
View File
@@ -116,7 +116,6 @@ class TestAssignClass:
root.run_geometry_add_representation(
obj="obj", context="context", ifc_representation_class="ifc_representation_class", profile_set_usage=None
).should_be_called()
root.set_element_specific_display_settings("obj", "element").should_be_called()
collector.sync("obj").should_be_called()
collector.assign("obj").should_be_called()
subject.assign_class(
@@ -139,7 +138,6 @@ class TestAssignClass:
).should_be_called().will_return("element")
root.set_object_name("obj", "element").should_be_called()
ifc.link("element", "obj").should_be_called()
root.set_element_specific_display_settings("obj", "element").should_be_called()
collector.sync("obj").should_be_called()
collector.assign("obj").should_be_called()
subject.assign_class(