[Telepathy-commits] [telepathy-gabble/master] Remove commented lines that have been moved in the expect_many
Pierre-Luc Beaudoin
pierre-luc.beaudoin at collabora.co.uk
Sun Feb 1 05:24:01 PST 2009
---
tests/twisted/test-location.py | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/tests/twisted/test-location.py b/tests/twisted/test-location.py
index a032a79..06e1efe 100644
--- a/tests/twisted/test-location.py
+++ b/tests/twisted/test-location.py
@@ -13,10 +13,11 @@ def test(q, bus, conn, stream):
dbus.Interface(conn, location_iface)
conn.Connect()
+
+ # discard activities request and status change
q.expect_many(
EventPattern('stream-iq', iq_type='set', query_ns='http://jabber.org/protocol/pubsub'),
EventPattern('dbus-signal', signal='StatusChanged', args=[0, 1]))
- #q.expect('dbus-signal', signal='StatusChanged', args=[0, 1])
# check location properties
#properties = conn.GetAll(
@@ -26,10 +27,6 @@ def test(q, bus, conn, stream):
#assert properties.get('LocationAccessControlTypes') is not None
#assert properties.get('LocationAccessControl') is not None
- # discard activities request
- #q.expect('stream-iq', iq_type='set',
- # query_ns='http://jabber.org/protocol/pubsub')
-
conn.Location.SetLocation({
'lat': dbus.Double(0.0, variant_level=1), 'lon': 0.0})
--
1.5.6.5
More information about the Telepathy-commits
mailing list