[Telepathy-commits] [telepathy-gabble/master] raise event on startedConnecting and clientConnectionLost

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Thu Feb 19 02:39:22 PST 2009


---
 ...offer-accept-private-dbus-stream-tube-socks5.py |    5 +++--
 1 files changed, 3 insertions(+), 2 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 bb365a2..17ef39e 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
@@ -55,10 +55,11 @@ class S5BFactory(Factory):
         return protocol
 
     def startedConnecting(self, connector):
-        pass
+        self.event_func(Event('s5b-started-connecting', connector=connector))
 
     def clientConnectionLost(self, connector, reason):
-        pass
+        self.event_func(Event('s5b-connection-lost', connector=connector,
+            reason=reason))
 
     def clientConnectionFailed(self, connector, reason):
         self.event_func(Event('s5b-connection-failed', reason=reason))
-- 
1.5.6.5




More information about the telepathy-commits mailing list