library.unassign_reference - support batching #4474

This commit is contained in:
Andrej730
2024-04-15 16:28:43 +05:00
parent 81dcad6a14
commit 1f605484d9
6 changed files with 59 additions and 25 deletions
+1 -1
View File
@@ -121,5 +121,5 @@ class TestAssignLibraryReference:
class TestUnassignLibraryReference:
def test_run(self, ifc):
ifc.get_entity("obj").should_be_called().will_return("product")
ifc.run("library.unassign_reference", product="product", reference="reference").should_be_called()
ifc.run("library.unassign_reference", products=["product"], reference="reference").should_be_called()
subject.unassign_library_reference(ifc, obj="obj", reference="reference")