[telepathy-gabble/master] connect/test-nonblocking-tls.py: make_stream returns the port too, not only the stream
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Tue Jul 21 03:41:11 PDT 2009
---
tests/twisted/connect/test-nonblocking-tls.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/twisted/connect/test-nonblocking-tls.py b/tests/twisted/connect/test-nonblocking-tls.py
index 1640cc4..dfabda6 100644
--- a/tests/twisted/connect/test-nonblocking-tls.py
+++ b/tests/twisted/connect/test-nonblocking-tls.py
@@ -100,7 +100,7 @@ if __name__ == '__main__':
}
conn1 = make_connection(bus, queue.append, params)
authenticator = BlockForeverTlsAuthenticator('test1', 'pass')
- stream1 = make_stream(queue.append, authenticator, protocol=XmppXmlStream,
+ stream1, port1 = make_stream(queue.append, authenticator, protocol=XmppXmlStream,
port=4242)
params = {
@@ -112,7 +112,7 @@ if __name__ == '__main__':
}
conn2 = make_connection(bus, queue.append, params)
authenticator = XmppAuthenticator('test2', 'pass')
- stream2 = make_stream(queue.append, authenticator, protocol=XmppXmlStream,
+ stream2, port2 = make_stream(queue.append, authenticator, protocol=XmppXmlStream,
port=4343)
try:
--
1.5.6.5
More information about the telepathy-commits
mailing list