[Telepathy-commits] [telepathy-gabble/master] tests/twisted/tubes/test-si-tubes.py: Regression test for Bug #13891
Alban Crequy
alban.crequy at collabora.co.uk
Tue Oct 21 08:10:37 PDT 2008
---
tests/twisted/tubes/test-si-tubes.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/twisted/tubes/test-si-tubes.py b/tests/twisted/tubes/test-si-tubes.py
index 3ef8e6b..f70d85a 100644
--- a/tests/twisted/tubes/test-si-tubes.py
+++ b/tests/twisted/tubes/test-si-tubes.py
@@ -527,14 +527,15 @@ def test(q, bus, conn, stream):
event = q.expect('dbus-return', method='AcceptDBusTube')
address = event.value[0]
- # FIXME: this is currently broken. See FIXME in tubes-channel.c
- #assert len(address) > 0
+ assert len(address) > 0 # regression test for bug #13891
event = q.expect('dbus-signal', signal='TubeStateChanged',
args=[69, 2]) # 2 == OPEN
id = event.args[0]
state = event.args[1]
+ assert address == tubes_iface.GetDBusTubeAddress(id)
+
# OK, we're done
conn.Disconnect()
--
1.5.6.5
More information about the Telepathy-commits
mailing list