system.unassign_system - support batching #4474

This commit is contained in:
Andrej730
2024-04-11 16:59:39 +05:00
parent 6b48e8b4b9
commit e66ac3d7db
6 changed files with 72 additions and 21 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ def assign_system(ifc, system=None, product=None):
def unassign_system(ifc, system=None, product=None):
ifc.run("system.unassign_system", product=product, system=system)
ifc.run("system.unassign_system", products=[product], system=system)
def select_system_products(system_tool, system=None):
+1 -1
View File
@@ -80,7 +80,7 @@ class TestAssignSystem:
class TestUnassignSystem:
def test_run(self, ifc):
ifc.run("system.unassign_system", product="product", system="system").should_be_called()
ifc.run("system.unassign_system", products=["product"], system="system").should_be_called()
subject.unassign_system(ifc, system="system", product="product")