[telepathy-mission-control/master] dispatcher/dispatch-text: assert that we have the PossibleHandlers property

Simon McVittie simon.mcvittie at collabora.co.uk
Tue Apr 7 09:01:55 PDT 2009


---
 test/twisted/dispatcher/already-has-channel.py |    5 ++---
 test/twisted/dispatcher/dispatch-text.py       |    5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/test/twisted/dispatcher/already-has-channel.py b/test/twisted/dispatcher/already-has-channel.py
index 19e6365..c63c8b6 100644
--- a/test/twisted/dispatcher/already-has-channel.py
+++ b/test/twisted/dispatcher/already-has-channel.py
@@ -145,9 +145,8 @@ def test(q, bus, mc):
 
     handlers = cdo_properties[cs.CDO + '.PossibleHandlers'][:]
     handlers.sort()
-    # FIXME: not true
-    #assert handlers == [cs.tp_name_prefix + '.Client.Empathy',
-    #        cs.tp_name_prefix + '.Client.Kopete'], handlers
+    assert handlers == [cs.tp_name_prefix + '.Client.Empathy',
+            cs.tp_name_prefix + '.Client.Kopete'], handlers
 
     assert cdo_properties[cs.CDO + '.Channels'] == [(chan.object_path,
         channel_properties)]
diff --git a/test/twisted/dispatcher/dispatch-text.py b/test/twisted/dispatcher/dispatch-text.py
index 40ad01d..85b9ea3 100644
--- a/test/twisted/dispatcher/dispatch-text.py
+++ b/test/twisted/dispatcher/dispatch-text.py
@@ -102,9 +102,8 @@ def test(q, bus, mc):
 
     handlers = cdo_properties[cs.CDO + '.PossibleHandlers'][:]
     handlers.sort()
-    # FIXME: not true
-    #assert handlers == [cs.tp_name_prefix + '.Client.Empathy',
-    #        cs.tp_name_prefix + '.Client.Kopete'], handlers
+    assert handlers == [cs.tp_name_prefix + '.Client.Empathy',
+            cs.tp_name_prefix + '.Client.Kopete'], handlers
 
     assert cdo_properties[cs.CDO + '.Channels'] == [(chan.object_path,
         channel_properties)]
-- 
1.5.6.5




More information about the telepathy-commits mailing list