[Telepathy-commits] [telepathy-gabble/master] accept-muc-stream-tube-ibb: use bytestream.send_data

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Wed Feb 25 07:12:36 PST 2009


---
 tests/twisted/tubes/accept-muc-stream-tube-ibb.py |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/tests/twisted/tubes/accept-muc-stream-tube-ibb.py b/tests/twisted/tubes/accept-muc-stream-tube-ibb.py
index b9cb3b5..fef72d4 100644
--- a/tests/twisted/tubes/accept-muc-stream-tube-ibb.py
+++ b/tests/twisted/tubes/accept-muc-stream-tube-ibb.py
@@ -235,10 +235,7 @@ def test(q, bus, conn, stream):
     assert binary == 'hello initiator'
 
     # reply on the socket
-    # FIXME: we should use bytestream.send_data('hi joiner!') but can't ATM
-    # because the Bytestream (wrongly) send the data from the initiator
-    send_ibb_msg_data(stream, 'chat at conf.localhost/bob', 'chat at conf.localhost/test',
-        stream_id, 0, 'hi joiner!')
+    bytestream.send_data('hi joiner!')
 
     q.expect('socket-data', protocol=protocol, data="hi joiner!")
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list