mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
test: fix listVolumes call for detach volume migration check (#4785)
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
parent
58a3f90a51
commit
7a9d43e959
@ -1305,7 +1305,7 @@ class TestMigrateVMwithVolume(cloudstackTestCase):
|
||||
|
||||
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")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user