CLOUDSTACK-8492: Fix string case issue

Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #284
This commit is contained in:
Gaurav Aradhye 2015-05-22 15:36:17 +05:30
parent 22ee66eea6
commit 424b5bb8d0

View File

@ -169,7 +169,7 @@ class TestSnapshots(cloudstackTestCase):
cls.services['mode'] = cls.zone.networktype
cls._cleanup = []
cls.unsupportedHypervisor = False
cls.hypervisor = get_hypervisor_type(cls.api_client)
cls.hypervisor = str(get_hypervisor_type(cls.api_client)).lower()
if cls.hypervisor.lower() in ['hyperv', 'lxc']:
cls.unsupportedHypervisor = True
return