[Telepathy-commits] [telepathy-gabble/master] Test test-si-tubes.py: better comment for the NewChannels signal (no change in the code)
Alban Crequy
alban.crequy at collabora.co.uk
Mon Nov 3 11:21:02 PST 2008
---
tests/twisted/tubes/test-si-tubes.py | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/tests/twisted/tubes/test-si-tubes.py b/tests/twisted/tubes/test-si-tubes.py
index 8bb3a89..e1a0c0f 100644
--- a/tests/twisted/tubes/test-si-tubes.py
+++ b/tests/twisted/tubes/test-si-tubes.py
@@ -217,8 +217,11 @@ def test(q, bus, conn, stream):
assert old_sig.args[4] == True # suppress handler
assert len(new_sig.args) == 1
- assert len(new_sig.args[0]) == 1 # one channel
- assert len(new_sig.args[0][0]) == 2 # two struct members
+ # one channel (the old-api channel was already existing)
+ assert len(new_sig.args[0]) == 1
+ # two struct members (o + a{sv})
+ assert len(new_sig.args[0][0]) == 2
+ # the new channel is in the first cell of the new_sig array
assert new_sig.args[0][0][0] == new_chan_path
emitted_props = new_sig.args[0][0][1]
--
1.5.6.5
More information about the Telepathy-commits
mailing list