From 797450a5ba085f36bfd0bee620e6a64c6d589fd1 Mon Sep 17 00:00:00 2001 From: Prasanna Santhanam Date: Tue, 30 Jul 2013 12:40:45 +0530 Subject: [PATCH] CLOUDSTACK-3929: Remove references to unittest. Skip is done using cloudstackTestCase inheriting from unittest as self.SKipTest Signed-off-by: Prasanna Santhanam --- .../test_redundant_router_deployment_planning.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/integration/component/test_redundant_router_deployment_planning.py b/test/integration/component/test_redundant_router_deployment_planning.py index 744be12e914..c8aac06c033 100644 --- a/test/integration/component/test_redundant_router_deployment_planning.py +++ b/test/integration/component/test_redundant_router_deployment_planning.py @@ -233,7 +233,7 @@ class TestRvRDeploymentPlanning(cloudstackTestCase): ) if len(pods) < 2: - raise unittest.SkipTest("The env don't have 2 pods req for test") + raise self.SkipTest("The env don't have 2 pods req for test") # Creating network using the network offering created self.debug("Creating network with network offering: %s" % @@ -380,7 +380,7 @@ class TestRvRDeploymentPlanning(cloudstackTestCase): "List clusters should not return empty response" ) if len(clusters) < 2: - raise unittest.SkipTest( + raise self.SkipTest( "The env don't have 2 clusters req for test") self.debug("disable all pods except one!") @@ -600,7 +600,7 @@ class TestRvRDeploymentPlanning(cloudstackTestCase): ) if len(storage_pools) < 2: - raise unittest.SkipTest( + raise self.SkipTest( "The env don't have 2 storage pools req for test") self.debug("disable all pods except one!") @@ -841,7 +841,7 @@ class TestRvRDeploymentPlanning(cloudstackTestCase): ) if len(hosts) < 2: - raise unittest.SkipTest( + raise self.SkipTest( "The env don't have 2 hosts req for test") self.debug("disable all pods except one!")