Fix failing core tests

This commit is contained in:
Dion Moult
2024-10-10 21:36:48 +11:00
parent 10e76a09de
commit c75e2e3fc0
6 changed files with 21 additions and 104 deletions
+2 -2
View File
@@ -107,8 +107,8 @@ class TestCopyToContainer:
class TestSelectContainer:
def test_run(self, ifc, spatial):
ifc.get_object("container").should_be_called().will_return("container_obj")
spatial.set_active_object("container_obj").should_be_called()
subject.select_container(ifc, spatial, container="container")
spatial.set_active_object("container_obj", selection_mode="ADD").should_be_called()
subject.select_container(ifc, spatial, container="container", selection_mode="ADD")
class TestSelectSimilarContainer: