From 424b5bb8d0a86639f539e655aa08960679e46627 Mon Sep 17 00:00:00 2001 From: Gaurav Aradhye Date: Fri, 22 May 2015 15:36:17 +0530 Subject: [PATCH] CLOUDSTACK-8492: Fix string case issue Signed-off-by: Gaurav Aradhye This closes #284 --- test/integration/component/test_snapshots.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/component/test_snapshots.py b/test/integration/component/test_snapshots.py index 4ff5411ed01..655a287b560 100644 --- a/test/integration/component/test_snapshots.py +++ b/test/integration/component/test_snapshots.py @@ -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