library.assign_reference - support batching #4474

This commit is contained in:
Andrej730
2024-04-15 16:00:40 +05:00
parent 03af1013a0
commit 81dcad6a14
12 changed files with 103 additions and 60 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ class TestEditLibraryReference:
class TestAssignLibraryReference:
def test_run(self, ifc):
ifc.get_entity("obj").should_be_called().will_return("product")
ifc.run("library.assign_reference", product="product", reference="reference").should_be_called()
ifc.run("library.assign_reference", products=["product"], reference="reference").should_be_called()
subject.assign_library_reference(ifc, obj="obj", reference="reference")