cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t..@apache.org
Subject [2/2] git commit: updated refs/heads/4.2 to 712d962
Date Thu, 01 Aug 2013 10:40:43 GMT
CLOUDSTACK-3999: Fix the skipTest typo

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit cf6ce42b536a287d36a09b776ae1b756cb1c14ee)


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/01449d48
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/01449d48
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/01449d48

Branch: refs/heads/4.2
Commit: 01449d48f97020422cc1671af860a0bed8a048af
Parents: 57a82a1
Author: Prasanna Santhanam <tsp@apache.org>
Authored: Thu Aug 1 16:09:07 2013 +0530
Committer: Prasanna Santhanam <tsp@apache.org>
Committed: Thu Aug 1 16:10:30 2013 +0530

----------------------------------------------------------------------
 .../component/test_redundant_router_deployment_planning.py   | 8 ++++----
 test/integration/smoke/test_deploy_vm_with_userdata.py       | 3 ++-
 2 files changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/01449d48/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 c8aac06..75fc3ab 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 self.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 self.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 self.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 self.SkipTest(
+            raise self.skipTest(
                             "The env don't have 2 hosts req for test")
 
         self.debug("disable all pods except one!")

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/01449d48/test/integration/smoke/test_deploy_vm_with_userdata.py
----------------------------------------------------------------------
diff --git a/test/integration/smoke/test_deploy_vm_with_userdata.py b/test/integration/smoke/test_deploy_vm_with_userdata.py
index 260106c..8910b2e 100644
--- a/test/integration/smoke/test_deploy_vm_with_userdata.py
+++ b/test/integration/smoke/test_deploy_vm_with_userdata.py
@@ -71,6 +71,7 @@ class TestDeployVmWithUserData(cloudstackTestCase):
             cls.services["service_offering"]
         )
         cls.account = Account.create(cls.apiClient, services=cls.services["account"])
+        cls.cleanup = [cls.account]
         cls.template = get_template(
             cls.apiClient,
             cls.zone.id,
@@ -79,7 +80,7 @@ class TestDeployVmWithUserData(cloudstackTestCase):
         cls.debug("Successfully created account: %s, id: \
                    %s" % (cls.account.name,\
                           cls.account.id))
-        cls.cleanup = [cls.account]
+
 
         # Generate userdata of 2500 bytes. This is larger than the 2048 bytes limit.
         # CS however allows for upto 4K bytes in the code. So this must succeed.


Mime
View raw message