diff --git a/test/integration/smoke/test_kubernetes_clusters.py b/test/integration/smoke/test_kubernetes_clusters.py index 2b7638d5324..2867409a693 100644 --- a/test/integration/smoke/test_kubernetes_clusters.py +++ b/test/integration/smoke/test_kubernetes_clusters.py @@ -240,8 +240,8 @@ class TestKubernetesCluster(cloudstackTestCase): if validateList(templates)[0] != PASS: details = None - if hypervisor in ["vmware"] and "details" in cks_template: - details = cks_template["details"] + if hypervisor in ["vmware"]: + details = [{"keyboard": "us"}] template = Template.register(cls.apiclient, cks_template, zoneid=cls.zone.id, hypervisor=hypervisor.lower(), randomize_name=False, details=details) template.download(cls.apiclient) return template diff --git a/test/integration/smoke/test_storage_policy.py b/test/integration/smoke/test_storage_policy.py index c006e3c6c56..a59ec32b225 100644 --- a/test/integration/smoke/test_storage_policy.py +++ b/test/integration/smoke/test_storage_policy.py @@ -66,7 +66,7 @@ class TestVMWareStoragePolicies(cloudstackTestCase): @classmethod def tearDownClass(cls): try: - cleanup_resources(cls.apiclient, reverved(cls._cleanup)) + cleanup_resources(cls.apiclient, reversed(cls._cleanup)) except Exception as e: raise Exception("Warning: Exception during cleanup : %s" % e) diff --git a/test/integration/smoke/test_templates.py b/test/integration/smoke/test_templates.py index ae34f7628f4..23d950637ce 100644 --- a/test/integration/smoke/test_templates.py +++ b/test/integration/smoke/test_templates.py @@ -84,7 +84,6 @@ class TestCreateTemplateWithChecksum(cloudstackTestCase): self.test_template.displaytext = 'test sha-1' self.test_template.url = "http://dl.openvm.eu/cloudstack/macchinina/x86_64/macchinina-vmware.ova" self.test_template.format = "OVA" - self.test_template.ostypeid = self.getOsType("Other Linux (64-bit)") self.md5 = "3c23ac66bac7888dc7c972783646c644" self.sha256 = "97aaa096d419522158c54f83eb61d9242d9f6bca9166fd4030d73683d647c7e7"