[Telepathy-commits] [telepathy-gabble/master] offer-accept-private-dbus-stream-tube-socks5.py: check streamhost jid attribute

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Tue Mar 17 09:43:02 PDT 2009


---
 ...offer-accept-private-dbus-stream-tube-socks5.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/tests/twisted/tubes/offer-accept-private-dbus-stream-tube-socks5.py b/tests/twisted/tubes/offer-accept-private-dbus-stream-tube-socks5.py
index ad5b497..3520718 100644
--- a/tests/twisted/tubes/offer-accept-private-dbus-stream-tube-socks5.py
+++ b/tests/twisted/tubes/offer-accept-private-dbus-stream-tube-socks5.py
@@ -390,6 +390,10 @@ def test(q, bus, conn, stream):
     id, mode, sid, hosts = expect_socks5_init(q)
     assert mode == 'tcp'
     assert sid == dbus_stream_id
+
+    for jid, host, port in hosts:
+        assert jid == self_full_jid
+
     jid, host, port = hosts[0]
 
     transport = socks5_connect(q, host, port, sid, self_full_jid, bob_full_jid)
-- 
1.5.6.5




More information about the telepathy-commits mailing list