[asterisk-commits] coreyfarrell: testsuite/asterisk/trunk r4762 - in /asterisk/trunk/tests/manag...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Feb 28 12:39:42 CST 2014


Author: coreyfarrell
Date: Fri Feb 28 12:39:39 2014
New Revision: 4762

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=4762
Log:
Add missing parameter to on_failure in manager live_dangerously tests

(closes issue ASTERISK-23349)
Reported by: Corey Farrell
Review: https://reviewboard.asterisk.org/r/3249/

Modified:
    asterisk/trunk/tests/manager/danger/dangerous/run-test
    asterisk/trunk/tests/manager/danger/safe/run-test

Modified: asterisk/trunk/tests/manager/danger/dangerous/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/manager/danger/dangerous/run-test?view=diff&rev=4762&r1=4761&r2=4762
==============================================================================
--- asterisk/trunk/tests/manager/danger/dangerous/run-test (original)
+++ asterisk/trunk/tests/manager/danger/dangerous/run-test Fri Feb 28 12:39:39 2014
@@ -39,7 +39,7 @@
             self.passed = False
         self.stop_reactor()
 
-    def on_failure(self):
+    def on_failure(self, reason):
         LOGGER.error("Failed to execute GetVar")
         self.passed = False
         self.stop_reactor()

Modified: asterisk/trunk/tests/manager/danger/safe/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/manager/danger/safe/run-test?view=diff&rev=4762&r1=4761&r2=4762
==============================================================================
--- asterisk/trunk/tests/manager/danger/safe/run-test (original)
+++ asterisk/trunk/tests/manager/danger/safe/run-test Fri Feb 28 12:39:39 2014
@@ -39,7 +39,7 @@
             self.passed = False
         self.stop_reactor()
 
-    def on_failure(self):
+    def on_failure(self, reason):
         LOGGER.error("Failed to execute GetVar")
         self.passed = False
         self.stop_reactor()




More information about the asterisk-commits mailing list