[Telepathy-commits] [telepathy-gabble/master] Implement clientConnectionFailed on S5BFactory

Will Thompson will.thompson at collabora.co.uk
Wed Feb 18 10:42:01 PST 2009


---
 ...offer-accept-private-dbus-stream-tube-socks5.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 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 0d27058..ee0c9dd 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
@@ -10,7 +10,7 @@ from dbus.connection import Connection
 from dbus.lowlevel import SignalMessage
 
 from servicetest import call_async, EventPattern, tp_name_prefix, \
-     watch_tube_signals, sync_dbus
+     watch_tube_signals, sync_dbus, Event
 from gabbletest import exec_test, acknowledge_iq, sync_stream
 import constants as cs
 import ns
@@ -60,6 +60,9 @@ class S5BFactory(Factory):
     def clientConnectionLost(self, connector, reason):
         pass
 
+    def clientConnectionFailed(self, connector, reason):
+        self.event_func(Event('s5b-connection-failed', reason=reason))
+
 def test(q, bus, conn, stream):
     t.set_up_echo("")
     t.set_up_echo("2")
-- 
1.5.6.5



More information about the telepathy-commits mailing list