From fd92f9d4d8001efa32f0b872afe1092f9f851860 Mon Sep 17 00:00:00 2001 From: sanjeev Date: Thu, 23 Apr 2015 10:46:16 +0530 Subject: [PATCH] Revert "Removed raise for skiptest" This reverts commit b5a74c34cf352e733040ffd6f2cbe0dd3b105c84. --- test/integration/smoke/test_vm_snapshots.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/integration/smoke/test_vm_snapshots.py b/test/integration/smoke/test_vm_snapshots.py index 36acbba6c40..5d5cdc4abf9 100644 --- a/test/integration/smoke/test_vm_snapshots.py +++ b/test/integration/smoke/test_vm_snapshots.py @@ -40,9 +40,9 @@ class TestVmSnapshot(cloudstackTestCase): hypervisor = testClient.getHypervisorInfo() if hypervisor.lower() in (KVM.lower(), "hyperv", "lxc"): - unittest.SkipTest( - "VM snapshot feature is not supported on KVM, Hyper-V or LXC" - ) + raise unittest.SkipTest( + "VM snapshot feature is not supported on KVM, Hyper-V or LXC") + cls.apiclient = testClient.getApiClient() cls.services = testClient.getParsedTestDataConfig() # Get Zone, Domain and templates