[Telepathy-commits] [telepathy-salut/master] test-receive-file-and-sender-disconnect.py: disconnect the XMPP connection too

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Tue Dec 9 07:39:38 PST 2008


---
 .../test-receive-file-and-sender-disconnect.py     |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/twisted/avahi/test-receive-file-and-sender-disconnect.py b/tests/twisted/avahi/test-receive-file-and-sender-disconnect.py
index 971696f..a2529a1 100644
--- a/tests/twisted/avahi/test-receive-file-and-sender-disconnect.py
+++ b/tests/twisted/avahi/test-receive-file-and-sender-disconnect.py
@@ -7,7 +7,7 @@ from file_transfer_helper import ReceiveFileTest, SOCKET_ADDRESS_TYPE_UNIX,\
 class ReceiveFileAndSenderDisconnectTest(ReceiveFileTest):
     def accept_file(self):
         # The sender of the file disconnects
-
+        self.outbound.transport.loseConnection()
         self.contact_service.stop()
 
         self.q.expect('dbus-signal', signal='FileTransferStateChanged')
-- 
1.5.6.5



More information about the Telepathy-commits mailing list