cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sanj...@apache.org
Subject [2/2] git commit: updated refs/heads/master to 52b630f
Date Wed, 22 Apr 2015 10:17:47 GMT
incorporated review comments


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

Branch: refs/heads/master
Commit: 52b630fcbdda16afe0f52351561c5b8067208489
Parents: cf3a8c0
Author: shweta agarwal <shweta.agarwal@citrix.com>
Authored: Tue Apr 21 17:55:56 2015 +0530
Committer: sanjeev <sanjeev@apache.org>
Committed: Wed Apr 22 15:44:59 2015 +0530

----------------------------------------------------------------------
 .../component/test_escalations_templates.py     | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/52b630fc/test/integration/component/test_escalations_templates.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_escalations_templates.py b/test/integration/component/test_escalations_templates.py
index c7decfd..dbde1fd 100644
--- a/test/integration/component/test_escalations_templates.py
+++ b/test/integration/component/test_escalations_templates.py
@@ -96,25 +96,25 @@ class TestTemplates(cloudstackTestCase):
             raise Exception("Warning: Exception in setup : %s" % e)
         return
 
-    @classmethod
-    def RestartServers(cls):
+
+    def RestartServers(self):
         """ Restart management server and usage server """
 
         sshClient = SshClient(
-            cls.mgtSvrDetails["mgtSvrIp"],
+            self.mgtSvrDetails["mgtSvrIp"],
             22,
-            cls.mgtSvrDetails["user"],
-            cls.mgtSvrDetails["passwd"]
+            self.mgtSvrDetails["user"],
+            self.mgtSvrDetails["passwd"]
         )
         command = "service cloudstack-management restart"
         sshClient.execute(command)
         return
-    @classmethod
-    def updateConfigurAndRestart(cls,name, value):
-        Configurations.update(cls.api_client,
+
+    def updateConfigurAndRestart(self,name, value):
+        Configurations.update(self.api_client,
                               name,value )
-        cls.RestartServers()
-        time.sleep(cls.services["sleep"])
+        self.RestartServers()
+        time.sleep(self.services["sleep"])
 
 
     def setUp(self):


Mime
View raw message