CLOUDSTACK-4257: [Automation] test_storage_motion test cases failed during with unexpected result in listStoragePool API call

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit a9e45bf7766728c8439fcc0e3a1a6e3af074b2b7)
This commit is contained in:
Saksham Srivastava 2013-08-19 16:28:00 +05:30 committed by Prasanna Santhanam
parent c1b157565c
commit ed745d3489

View File

@ -259,16 +259,8 @@ class TestStorageMotion(cloudstackTestCase):
self.apiclient,
id=volume.id
)
self.assertEqual(
isinstance(pools, list),
True,
"Check list storage pools response for valid list"
)
self.assertNotEqual(
pools,
None,
"Check if pools exists in ListStoragePools"
)
if not pools or pools is None:
self.skipTest("No suitable storage pools found for volume migration.Skipping")
pool = pools[0]
self.debug("Migrating Volume-ID: %s to Pool: %s" % (