[Telepathy-commits] [telepathy-gabble/master] Location: Update the twisted test with the new spec
Alban Crequy
alban.crequy at collabora.co.uk
Sun Feb 1 05:23:56 PST 2009
---
tests/twisted/test-location.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/twisted/test-location.py b/tests/twisted/test-location.py
index 2f7a74c..ee26603 100644
--- a/tests/twisted/test-location.py
+++ b/tests/twisted/test-location.py
@@ -21,7 +21,7 @@ def test(q, bus, conn, stream):
query_ns='http://jabber.org/protocol/pubsub')
handle = conn.RequestHandles(1, ['bob at foo.com'])[0]
- call_async(q, conn.Location, 'RequestLocations', [handle])
+ call_async(q, conn.Location, 'GetLocations', [handle])
event = q.expect('stream-iq', iq_type='get',
query_ns='http://jabber.org/protocol/pubsub')
@@ -33,7 +33,7 @@ def test(q, bus, conn, stream):
geoloc.addElement('lon', content='5.678')
stream.send(result)
- q.expect('dbus-return', method='RequestLocations')
+ q.expect('dbus-return', method='GetLocations')
conn.Disconnect()
q.expect('dbus-signal', signal='StatusChanged', args=[2, 1])
--
1.5.6.5
More information about the Telepathy-commits
mailing list