bug-id:correcting few more errors in testpaths reviewed-by: self

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
This commit is contained in:
SrikanteswaraRao Talluri 2015-05-03 22:40:04 +05:30
parent ba9c4cfa81
commit ff4f31c4ea
2 changed files with 6 additions and 1 deletions

View File

@ -662,6 +662,7 @@ class TestAdvancedZoneStoppedVM(cloudstackTestCase):
# 3. Register an ISO and attach it to the VM
# 4. Verify that ISO is attached to the VM
"""
if self.hypervisor.lower() in ['lxc']:
self.skipTest(
"feature is not supported in %s" %
@ -727,6 +728,10 @@ class TestAdvancedZoneStoppedVM(cloudstackTestCase):
# 4. Verify that ISO is attached to the VM
"""
if self.hypervisor.lower() in ['lxc']:
self.skipTest(
"feature is not supported in %s" %
self.hypervisor)
# Create VM in account
virtual_machine = VirtualMachine.create(

View File

@ -230,7 +230,7 @@ class TestPathVolume(cloudstackTestCase):
def setUp(self):
self.apiclient = self.testClient.getApiClient()
self.dbclient = self.testClient.getDbConnection()
if self.unsupportedHypervisor or self.insuffPools:
if self.unsupportedHypervisor or self.insuffStorage:
self.skipTest("Skipping test because of insuff resources\
%s" % self.hypervisor)