[Telepathy-commits] [telepathy-gabble/master] Update RoomList tests to expect TargetID to be in the present, not the future

Simon McVittie simon.mcvittie at collabora.co.uk
Mon Nov 3 11:20:57 PST 2008


---
 tests/twisted/muc/roomlist.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/twisted/muc/roomlist.py b/tests/twisted/muc/roomlist.py
index 4dbdf66..79627d0 100644
--- a/tests/twisted/muc/roomlist.py
+++ b/tests/twisted/muc/roomlist.py
@@ -70,8 +70,8 @@ def test(q, bus, conn, stream):
             tp_name_prefix + '.Channel.Type.RoomList'
     assert props[tp_name_prefix + '.Channel.TargetHandleType'] == 0
     assert props[tp_name_prefix + '.Channel.TargetHandle'] == 0
+    assert props[tp_name_prefix + '.Channel.TargetID'] == ''
     assert props[tp_name_prefix + '.Channel.FUTURE.Requested'] == True
-    assert props[tp_name_prefix + '.Channel.FUTURE.TargetID'] == ''
     assert props[tp_name_prefix + '.Channel.FUTURE.InitiatorHandle'] \
             == conn.GetSelfHandle()
     assert props[tp_name_prefix + '.Channel.FUTURE.InitiatorID'] \
@@ -139,8 +139,8 @@ def test(q, bus, conn, stream):
             tp_name_prefix + '.Channel.Type.RoomList'
     assert props[tp_name_prefix + '.Channel.TargetHandleType'] == 0
     assert props[tp_name_prefix + '.Channel.TargetHandle'] == 0
+    assert props[tp_name_prefix + '.Channel.TargetID'] == ''
     assert props[tp_name_prefix + '.Channel.FUTURE.Requested'] == True
-    assert props[tp_name_prefix + '.Channel.FUTURE.TargetID'] == ''
     assert props[tp_name_prefix + '.Channel.FUTURE.InitiatorHandle'] \
             == conn.GetSelfHandle()
     assert props[tp_name_prefix + '.Channel.FUTURE.InitiatorID'] \
-- 
1.5.6.5




More information about the Telepathy-commits mailing list