[Telepathy-commits] [telepathy-gabble/master] offer-accept-private-dbus-stream-tube-socks5: pass initiated property
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Wed Feb 25 07:11:24 PST 2009
---
...offer-accept-private-dbus-stream-tube-socks5.py | 8 ++++----
1 files changed, 4 insertions(+), 4 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 c4cad5e..c0f4446 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
@@ -251,7 +251,7 @@ def test(q, bus, conn, stream):
# Old API tube
bytestream1 = BytestreamS5B(stream, q, 'alpha', bob_full_jid,
- self_full_jid)
+ self_full_jid, True)
iq, si = create_si_offer(stream, bytestream1.initiator, bytestream1.target,
bytestream1.stream_id, ns.TUBES, [bytestream1.get_ns()])
@@ -281,7 +281,7 @@ def test(q, bus, conn, stream):
# The CM is the server, so fake a client wanting to talk to it
# New API tube
bytestream2 = BytestreamS5B(stream, q, 'beta', bob_full_jid,
- self_full_jid)
+ self_full_jid, True)
iq, si = create_si_offer(stream, bytestream2.initiator, bytestream2.target,
bytestream2.stream_id, ns.TUBES, [bytestream2.get_ns()])
@@ -365,7 +365,7 @@ def test(q, bus, conn, stream):
}
bytestream3 = BytestreamS5B(stream, q, dbus_stream_id, self_full_jid,
- event.stanza['to'])
+ event.stanza['to'], False)
result, si = create_si_reply(stream, event.stanza, self_full_jid, bytestream3.get_ns())
stream.send(result)
@@ -424,7 +424,7 @@ def test(q, bus, conn, stream):
q.expect('tube-signal', signal='baz', args=[42], tube=dbus_tube_conn)
# OK, now let's try to accept a D-Bus tube
- bytestream4 = BytestreamS5B(stream, q, 'beta', bob_full_jid, self_full_jid)
+ bytestream4 = BytestreamS5B(stream, q, 'beta', bob_full_jid, self_full_jid, True)
iq, si = create_si_offer(stream, bytestream4.initiator, bytestream4.target,
bytestream4.stream_id, ns.TUBES, [bytestream4.get_ns()])
--
1.5.6.5
More information about the telepathy-commits
mailing list