Fixes after smoke tests results on VMware

This commit is contained in:
nvazquez 2020-10-22 17:14:26 -03:00
parent 5d24e735f5
commit 187813a209
3 changed files with 3 additions and 4 deletions

View File

@ -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

View File

@ -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)

View File

@ -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"