[telepathy-gabble/master] connect_to_cm_socket: the byte sent is meaningless
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Thu May 14 05:23:50 PDT 2009
---
tests/twisted/tubes/tubetestutil.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/twisted/tubes/tubetestutil.py b/tests/twisted/tubes/tubetestutil.py
index 0d5c715..3899779 100644
--- a/tests/twisted/tubes/tubetestutil.py
+++ b/tests/twisted/tubes/tubetestutil.py
@@ -299,8 +299,9 @@ def connect_to_cm_socket(q, to, address_type, address, access_control,
if access_control == cs.SOCKET_ACCESS_CONTROL_CREDENTIALS:
socket_event = q.expect('socket-connected')
- # socket is connected. Let's send our credentials
- socket_event.protocol.sendData(str(access_control_param))
+ # socket is connected. Let's send our credentials (the byte is
+ # meaningless)
+ socket_event.protocol.sendData('a')
# once credentials have been sent, Gabble sends SI request
si_event = q.expect('stream-iq', to=to, query_ns=ns.SI, query_name='si')
--
1.5.6.5
More information about the telepathy-commits
mailing list