[telepathy-mission-control/master] dispatcher/dispatch-text.py: assert that after the test finishes, there are no more CDOs

Simon McVittie simon.mcvittie at collabora.co.uk
Fri Apr 3 05:13:28 PDT 2009


---
 test/twisted/dispatcher/dispatch-text.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/test/twisted/dispatcher/dispatch-text.py b/test/twisted/dispatcher/dispatch-text.py
index 08fa7ff..0a9578b 100644
--- a/test/twisted/dispatcher/dispatch-text.py
+++ b/test/twisted/dispatcher/dispatch-text.py
@@ -181,5 +181,8 @@ def test(q, bus, mc):
     # HandleWith succeeds
     q.expect('dbus-return', method='HandleWith')
 
+    # Now there are no more active channel dispatch operations
+    assert cd_props.Get(cs.CD_IFACE_OP_LIST, 'DispatchOperations') == []
+
 if __name__ == '__main__':
     exec_test(test, {})
-- 
1.5.6.5




More information about the telepathy-commits mailing list