[Telepathy-commits] [telepathy-gabble/master] offer-muc-stream-tube.py: use bytestream.create_si_offer method

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Fri Feb 27 03:22:30 PST 2009


---
 tests/twisted/tubes/offer-muc-stream-tube.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/tests/twisted/tubes/offer-muc-stream-tube.py b/tests/twisted/tubes/offer-muc-stream-tube.py
index 0d0fe6b..63556d3 100644
--- a/tests/twisted/tubes/offer-muc-stream-tube.py
+++ b/tests/twisted/tubes/offer-muc-stream-tube.py
@@ -218,8 +218,7 @@ def test(q, bus, conn, stream, bytestream_cls):
     bytestream = bytestream_cls(stream, q, 'alpha', 'chat at conf.localhost/bob',
         'test at localhost/Resource', True)
 
-    iq, si = create_si_offer(stream, bytestream.initiator, bytestream.target,
-        bytestream.stream_id, ns.TUBES, [bytestream.get_ns()])
+    iq, si = bytestream.create_si_offer(ns.TUBES)
 
     stream_node = si.addElement((ns.TUBES, 'muc-stream'))
     stream_node['tube'] = str(stream_tube_id)
-- 
1.5.6.5




More information about the telepathy-commits mailing list