[telepathy-gabble/master] don't chainup XmlStream.onDocumentEnd method

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Fri Sep 11 07:56:20 PDT 2009


---
 tests/twisted/gabbletest.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/tests/twisted/gabbletest.py b/tests/twisted/gabbletest.py
index d6f850d..1f52fd1 100644
--- a/tests/twisted/gabbletest.py
+++ b/tests/twisted/gabbletest.py
@@ -282,7 +282,9 @@ class BaseXmlStream(xmlstream.XmlStream):
 
     def onDocumentEnd(self):
         self.event_func(servicetest.Event('stream-closed'))
-        xmlstream.XmlStream.onDocumentEnd(self)
+        # We don't chain up XmlStream.onDocumentEnd() because it will
+        # disconnect the TCP connection making tests as
+        # connect/disconnect-timeout.py not working
 
 class JabberXmlStream(BaseXmlStream):
     version = (0, 9)
-- 
1.5.6.5




More information about the telepathy-commits mailing list