mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
Skipping test instead of raising exception in case enough zones are not present for it to run on
This commit is contained in:
parent
9245b7b71f
commit
97b9e86561
@ -624,7 +624,7 @@ class TestIsos(cloudstackTestCase):
|
||||
"Failed to list Zones"
|
||||
)
|
||||
if not len(zones_list) > 1:
|
||||
self.fail("Enough zones doesnot exists to copy iso")
|
||||
self.skipTest("Enough zones doesnot exists to copy iso")
|
||||
else:
|
||||
# Listing all the ISO's for a User in Zone 1
|
||||
list_isos_zone1 = Iso.list(
|
||||
@ -780,4 +780,4 @@ class TestIsos(cloudstackTestCase):
|
||||
"Failed to copy ISO"
|
||||
)
|
||||
del self.services["iso"]["zoneid"]
|
||||
return
|
||||
return
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user