Fix TestSelectSimilarContainer after 553003e

This commit is contained in:
Andrej730
2025-07-14 16:48:28 +05:00
parent c111aafd3a
commit 3f0e30245b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -933,7 +933,7 @@ class Spatial:
def filter_products(cls, products, action): pass
def get_active_container(cls): pass
def get_container(cls, element): pass
def get_decomposed_elements(cls, container): pass
def get_decomposed_elements(cls, container, recursive): pass
def get_object_matrix(cls, obj): pass
def get_relative_object_matrix(cls, target_obj, relative_to_obj): pass
def get_selected_product_types(cls): pass
+1 -1
View File
@@ -115,6 +115,6 @@ class TestSelectSimilarContainer:
def test_run(self, ifc, spatial):
ifc.get_entity("obj").should_be_called().will_return("element")
spatial.get_container("element").should_be_called().will_return("container")
spatial.get_decomposed_elements("container").should_be_called().will_return(["contained_element"])
spatial.get_decomposed_elements("container", True).should_be_called().will_return(["contained_element"])
spatial.select_products(["contained_element"]).should_be_called()
subject.select_similar_container(ifc, spatial, obj="obj")