diff --git a/test/integration/smoke/test_service_offerings.py b/test/integration/smoke/test_service_offerings.py index 2788d0e8355..9d05a7ac3e5 100644 --- a/test/integration/smoke/test_service_offerings.py +++ b/test/integration/smoke/test_service_offerings.py @@ -448,7 +448,7 @@ class TestCpuCapServiceOfferings(cloudstackTestCase): cls.apiclient = testClient.getApiClient() cls.services = testClient.getParsedTestDataConfig() cls.hypervisor = testClient.getHypervisorInfo() - + cls._cleanup = [] cls.hypervisorNotSupported = False if cls.hypervisor.lower() not in ["kvm"]: cls.hypervisorNotSupported = True @@ -516,7 +516,6 @@ class TestCpuCapServiceOfferings(cloudstackTestCase): cls.offering, cls.account ] - return @classmethod def tearDownClass(cls): diff --git a/test/integration/smoke/test_vm_life_cycle.py b/test/integration/smoke/test_vm_life_cycle.py index d882c1fc9ae..a2daee85c10 100644 --- a/test/integration/smoke/test_vm_life_cycle.py +++ b/test/integration/smoke/test_vm_life_cycle.py @@ -794,6 +794,10 @@ class TestSecuredVmMigration(cloudstackTestCase): cls.apiclient = testClient.getApiClient() cls.services = testClient.getParsedTestDataConfig() cls.hypervisor = testClient.getHypervisorInfo() + cls._cleanup = [] + + if cls.hypervisor.lower() not in ["kvm"]: + return # Get Zone, Domain and templates domain = get_domain(cls.apiclient) @@ -846,12 +850,12 @@ class TestSecuredVmMigration(cloudstackTestCase): self.apiclient = self.testClient.getApiClient() self.dbclient = self.testClient.getDbConnection() self.cleanup = [] - self.updateConfiguration("ca.plugin.root.auth.strictness", "false") - self.make_all_hosts_secure() - if self.hypervisor.lower() not in ["kvm"]: self.skipTest("Secured migration is not supported on other than KVM") + self.updateConfiguration("ca.plugin.root.auth.strictness", "false") + self.make_all_hosts_secure() + def tearDown(self): self.make_all_hosts_secure()