[asterisk-scf-commits] asterisk-scf/integration/testsuite.git branch "review" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Wed Jun 1 10:04:40 CDT 2011


branch "review" has been updated
       via  fad8b4fa3e1607a21bfae453cf0219e9d30b64f5 (commit)
      from  c8dd185b0da1d4258aa7de5d0c3d4b84ba55d942 (commit)

Summary of changes:
 plugins/asteriskscf_configurator.py |    2 +-
 plugins/asteriskscf_icebox.py       |    2 +-
 plugins/failover.py                 |    2 +-
 plugins/sipp.py                     |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)


- Log -----------------------------------------------------------------
commit fad8b4fa3e1607a21bfae453cf0219e9d30b64f5
Author: Darren Sessions <dsessions at digium.com>
Date:   Wed Jun 1 10:04:38 2011 -0500

    updated the plugins to use the new globalVars variable passed from the testsuite core

diff --git a/plugins/asteriskscf_configurator.py b/plugins/asteriskscf_configurator.py
index 7890cfa..c172bd5 100644
--- a/plugins/asteriskscf_configurator.py
+++ b/plugins/asteriskscf_configurator.py
@@ -19,7 +19,7 @@ sys.path.append('/opt/Ice-3.4.1/python')
 import Ice
 
 class plugin(TestSuite.BaseClass):
-    def main(self, testData, testPath):
+    def main(self, testData, testPath, globalVars):
         if not 'configuration_wipe' in testData:
             testData['configuration_wipe'] = None
 
diff --git a/plugins/asteriskscf_icebox.py b/plugins/asteriskscf_icebox.py
index d2779e9..5d3d1de 100644
--- a/plugins/asteriskscf_icebox.py
+++ b/plugins/asteriskscf_icebox.py
@@ -12,7 +12,7 @@
 import TestSuite
 
 class plugin(TestSuite.RemoteBaseClass):
-    def main(self, testData, testPath, rpc):
+    def main(self, testData, testPath, globalVars, rpc):
         iceBoxCmd = ['/opt/Ice-3.4.1/bin/icebox', '--Ice.Config=!!TMP!!/']
 
         ''' start and stop individual components. shutdown is implemented in the main testsuite code ''' 
diff --git a/plugins/failover.py b/plugins/failover.py
index 4a9a02d..f506839 100644
--- a/plugins/failover.py
+++ b/plugins/failover.py
@@ -13,7 +13,7 @@ import time
 import TestSuite
 
 class plugin(TestSuite.BaseClass):
-    def main(self, testData, testPath):
+    def main(self, testData, testPath, globalVars):
         corosyncExec = ['corosync','-f']
         pacemakerExec = ['pacemaker']
 
diff --git a/plugins/sipp.py b/plugins/sipp.py
index f6aec91..d82f602 100644
--- a/plugins/sipp.py
+++ b/plugins/sipp.py
@@ -12,7 +12,7 @@
 import TestSuite
 
 class plugin(TestSuite.RemoteBaseClass):
-    def main(self, testData, testPath, rpc):
+    def main(self, testData, testPath, globalVars, rpc):
         config = {}
         modes = ['uas', 'uac']
 

-----------------------------------------------------------------------


-- 
asterisk-scf/integration/testsuite.git



More information about the asterisk-scf-commits mailing list