[asterisk-commits] pabelanger: branch pabelanger/ami_connect r2165 - in /asterisk/team/pabelange...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Sep 9 16:07:36 CDT 2011
Author: pabelanger
Date: Fri Sep 9 16:07:32 2011
New Revision: 2165
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=2165
Log:
Fixes
Modified:
asterisk/team/pabelanger/ami_connect/lib/python/asterisk/TestCase.py
asterisk/team/pabelanger/ami_connect/tests/manager/login/run-test
Modified: asterisk/team/pabelanger/ami_connect/lib/python/asterisk/TestCase.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/pabelanger/ami_connect/lib/python/asterisk/TestCase.py?view=diff&rev=2165&r1=2164&r2=2165
==============================================================================
--- asterisk/team/pabelanger/ami_connect/lib/python/asterisk/TestCase.py (original)
+++ asterisk/team/pabelanger/ami_connect/lib/python/asterisk/TestCase.py Fri Sep 9 16:07:32 2011
@@ -145,7 +145,7 @@
def __ami_connect(self, ami):
logger.info("AMI Connect instance %s" % (ami.id + 1))
self.ami[ami.id] = ami
- self.ami_connect(self, ami)
+ self.ami_connect(ami)
def handleOriginateFailure(self, reason):
""" Convenience callback handler for twisted deferred errors for an AMI originate call """
Modified: asterisk/team/pabelanger/ami_connect/tests/manager/login/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/pabelanger/ami_connect/tests/manager/login/run-test?view=diff&rev=2165&r1=2164&r2=2165
==============================================================================
--- asterisk/team/pabelanger/ami_connect/tests/manager/login/run-test (original)
+++ asterisk/team/pabelanger/ami_connect/tests/manager/login/run-test Fri Sep 9 16:07:32 2011
@@ -23,7 +23,7 @@
self.passed = True
self.stop_reactor()
- def ami_connect(self):
+ def ami_connect(self, ami):
self.ami[0].logoff().addCallbacks(self.ami_logoff, self.ami_login_error)
def run(self):
More information about the asterisk-commits
mailing list