You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ts...@apache.org on 2013/07/30 09:11:59 UTC
git commit: updated refs/heads/4.2 to 797450a
Updated Branches:
refs/heads/4.2 56043eb6c -> 797450a5b
CLOUDSTACK-3929: Remove references to unittest.
Skip is done using cloudstackTestCase inheriting from unittest as
self.SKipTest
Signed-off-by: Prasanna Santhanam <ts...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/797450a5
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/797450a5
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/797450a5
Branch: refs/heads/4.2
Commit: 797450a5ba085f36bfd0bee620e6a64c6d589fd1
Parents: 56043eb
Author: Prasanna Santhanam <ts...@apache.org>
Authored: Tue Jul 30 12:40:45 2013 +0530
Committer: Prasanna Santhanam <ts...@apache.org>
Committed: Tue Jul 30 12:40:45 2013 +0530
----------------------------------------------------------------------
.../component/test_redundant_router_deployment_planning.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/797450a5/test/integration/component/test_redundant_router_deployment_planning.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_redundant_router_deployment_planning.py b/test/integration/component/test_redundant_router_deployment_planning.py
index 744be12..c8aac06 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!")