[asterisk-commits] mjordan: testsuite/asterisk/trunk r4506 - /asterisk/trunk/tests/rest_api/appl...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Dec 20 14:05:29 CST 2013
Author: mjordan
Date: Fri Dec 20 14:05:27 2013
New Revision: 4506
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=4506
Log:
subscribe_device_state: Update test to use deviceState instead of device_state
Modified:
asterisk/trunk/tests/rest_api/applications/subscribe-device-state/subscribe_device_state.py
Modified: asterisk/trunk/tests/rest_api/applications/subscribe-device-state/subscribe_device_state.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/rest_api/applications/subscribe-device-state/subscribe_device_state.py?view=diff&rev=4506&r1=4505&r2=4506
==============================================================================
--- asterisk/trunk/tests/rest_api/applications/subscribe-device-state/subscribe_device_state.py (original)
+++ asterisk/trunk/tests/rest_api/applications/subscribe-device-state/subscribe_device_state.py Fri Dec 20 14:05:27 2013
@@ -17,14 +17,14 @@
# subscribe to device
ari.post("applications", "testsuite", "subscription",
- eventSource="device_state:%s" % DEVICE)
+ eventSource="deviceState:%s" % DEVICE)
# change the device state
ari.put(URL, DEVICE, deviceState=CHANGED_STATE)
# unsubscribe from device
ari.delete("applications", "testsuite", "subscription",
- eventSource="device_state:%s" % DEVICE)
+ eventSource="deviceState:%s" % DEVICE)
# remove device
ari.delete(URL, DEVICE)
More information about the asterisk-commits
mailing list