[telepathy-mission-control/master] dispatcher/create-at-startup.py: resurrect the assertion that ObserveChannels occurs in the right order

Simon McVittie simon.mcvittie at collabora.co.uk
Mon May 25 09:20:54 PDT 2009


---
 test/twisted/dispatcher/create-at-startup.py |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/test/twisted/dispatcher/create-at-startup.py b/test/twisted/dispatcher/create-at-startup.py
index af7806b..f55241e 100644
--- a/test/twisted/dispatcher/create-at-startup.py
+++ b/test/twisted/dispatcher/create-at-startup.py
@@ -168,11 +168,6 @@ def test(q, bus, unused):
             interface=cs.OBSERVER, method='ObserveChannels',
             handled=False)
 
-    # ... but currently there's no guarantee that they'll be in the right
-    # order, so swap them if necessary (FIXME: take this out)
-    if a.args[3] == '/':
-        a, e = e, a
-
     assert a.args[0] == account.object_path, a.args
     assert a.args[1] == conn.object_path, a.args
     assert a.args[3] != '/', a.args         # there is a dispatch operation
-- 
1.5.6.5




More information about the telepathy-commits mailing list