[asterisk-commits] file: testsuite/asterisk/trunk r4329 - /asterisk/trunk/tests/rest_api/channel...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Nov 8 05:34:28 CST 2013


Author: file
Date: Fri Nov  8 05:34:26 2013
New Revision: 4329

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=4329
Log:
Fix test. The number of arguments passed in has changed.

Modified:
    asterisk/trunk/tests/rest_api/channels/originate/channel_originate.py

Modified: asterisk/trunk/tests/rest_api/channels/originate/channel_originate.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/rest_api/channels/originate/channel_originate.py?view=diff&rev=4329&r1=4328&r2=4329
==============================================================================
--- asterisk/trunk/tests/rest_api/channels/originate/channel_originate.py (original)
+++ asterisk/trunk/tests/rest_api/channels/originate/channel_originate.py Fri Nov  8 05:34:26 2013
@@ -10,14 +10,14 @@
 
 LOGGER = logging.getLogger(__name__)
 
-def on_kickoff_start(ari, event):
+def on_kickoff_start(ari, event, test_object):
     LOGGER.debug("on_kickoff_start(%r)" % event)
     for x in xrange(50):
         ari.post('channels', endpoint='Local/1000 at default', app='testsuite', appArgs='blast')
     ari.delete('channels', event['channel']['id'])
     return True
 
-def on_blast_start(ari, event):
+def on_blast_start(ari, event, test_object):
     LOGGER.debug("on_blast_start(%r)" % event)
     ari.delete('channels', event['channel']['id'])
     return True




More information about the asterisk-commits mailing list