[asterisk-commits] dlee: branch dlee/ari-bridge-tests r4167 - in /asterisk/team/dlee/ari-bridge-...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Sep 12 11:50:15 CDT 2013
Author: dlee
Date: Thu Sep 12 11:50:14 2013
New Revision: 4167
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=4167
Log:
Leftover self params
Modified:
asterisk/team/dlee/ari-bridge-tests/tests/rest_api/bridges/hangup/bridge_hangup.py
asterisk/team/dlee/ari-bridge-tests/tests/rest_api/bridges/happy/bridge_happy.py
asterisk/team/dlee/ari-bridge-tests/tests/rest_api/bridges/move/bridge_move.py
Modified: asterisk/team/dlee/ari-bridge-tests/tests/rest_api/bridges/hangup/bridge_hangup.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/dlee/ari-bridge-tests/tests/rest_api/bridges/hangup/bridge_hangup.py?view=diff&rev=4167&r1=4166&r2=4167
==============================================================================
--- asterisk/team/dlee/ari-bridge-tests/tests/rest_api/bridges/hangup/bridge_hangup.py (original)
+++ asterisk/team/dlee/ari-bridge-tests/tests/rest_api/bridges/hangup/bridge_hangup.py Thu Sep 12 11:50:14 2013
@@ -20,7 +20,7 @@
TEST = BridgeSimple()
-def on_start(self, ari, event):
+def on_start(ari, event):
LOGGER.debug("on_start(%r)" % event)
TEST.channel_id = event['channel']['id']
TEST.bridge_id = ari.post('bridges').json()['id']
@@ -29,7 +29,7 @@
return True
-def on_enter(self, ari, event):
+def on_enter(ari, event):
channel_id = event['channel']['id']
bridge_id = event['bridge']['id']
assert TEST.channel_id == channel_id
Modified: asterisk/team/dlee/ari-bridge-tests/tests/rest_api/bridges/happy/bridge_happy.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/dlee/ari-bridge-tests/tests/rest_api/bridges/happy/bridge_happy.py?view=diff&rev=4167&r1=4166&r2=4167
==============================================================================
--- asterisk/team/dlee/ari-bridge-tests/tests/rest_api/bridges/happy/bridge_happy.py (original)
+++ asterisk/team/dlee/ari-bridge-tests/tests/rest_api/bridges/happy/bridge_happy.py Thu Sep 12 11:50:14 2013
@@ -20,7 +20,7 @@
TEST = BridgeHappy()
-def on_start(self, ari, event):
+def on_start(ari, event):
LOGGER.debug("on_start(%r)" % event)
TEST.channel_id = event['channel']['id']
TEST.bridge_id = ari.post('bridges').json()['id']
@@ -29,7 +29,7 @@
return True
-def on_enter(self, ari, event):
+def on_enter(ari, event):
channel_id = event['channel']['id']
bridge_id = event['bridge']['id']
assert TEST.channel_id == channel_id
@@ -38,7 +38,7 @@
return True
-def on_leave(self, ari, event):
+def on_leave(ari, event):
channel_id = event['channel']['id']
bridge_id = event['bridge']['id']
assert TEST.channel_id == channel_id
Modified: asterisk/team/dlee/ari-bridge-tests/tests/rest_api/bridges/move/bridge_move.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/dlee/ari-bridge-tests/tests/rest_api/bridges/move/bridge_move.py?view=diff&rev=4167&r1=4166&r2=4167
==============================================================================
--- asterisk/team/dlee/ari-bridge-tests/tests/rest_api/bridges/move/bridge_move.py (original)
+++ asterisk/team/dlee/ari-bridge-tests/tests/rest_api/bridges/move/bridge_move.py Thu Sep 12 11:50:14 2013
@@ -21,7 +21,7 @@
TEST = TestLogic()
-def on_start(self, ari, event):
+def on_start(ari, event):
LOGGER.debug("on_start(%r)" % event)
TEST.channel_id = event['channel']['id']
TEST.bridge1_id = ari.post('bridges').json()['id']
@@ -31,7 +31,7 @@
return True
-def on_enter(self, ari, event):
+def on_enter(ari, event):
channel_id = event['channel']['id']
bridge_id = event['bridge']['id']
assert TEST.channel_id == channel_id
@@ -47,7 +47,7 @@
return True
-def on_leave(self, ari, event):
+def on_leave(ari, event):
channel_id = event['channel']['id']
bridge_id = event['bridge']['id']
assert TEST.channel_id == channel_id
More information about the asterisk-commits
mailing list