From 36448c826b015b0d4965b539b70be714bd10912e Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Wed, 10 Mar 2021 13:15:39 +0530 Subject: [PATCH] test: fix listVolumes call for detach volume migration check Signed-off-by: Abhishek Kumar --- test/integration/smoke/test_vm_life_cycle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/smoke/test_vm_life_cycle.py b/test/integration/smoke/test_vm_life_cycle.py index 3def05346a47..2328a87c593d 100644 --- a/test/integration/smoke/test_vm_life_cycle.py +++ b/test/integration/smoke/test_vm_life_cycle.py @@ -1305,7 +1305,7 @@ def test_03_migrate_detached_volume(self): Volume.migrate(self.apiclient, storageid=target_pool.id, volumeid=volume1.id) - vol = Volume.list(self.apiclient, volume=volume1.id)[0] + vol = Volume.list(self.apiclient, id=volume1.id)[0] self.assertEqual(vol.storageid, target_pool.id, "Storage pool was not the same as expected")