diff options
author | Nathan Fritz <nathan@andyet.net> | 2010-10-14 16:27:44 -0700 |
---|---|---|
committer | Nathan Fritz <nathan@andyet.net> | 2010-10-14 16:27:44 -0700 |
commit | 95ad8a1878c5792101e6bd9d1f64a2bbbe223398 (patch) | |
tree | 84c38d7dbb7851c578ea34fe5cf28a1c6c59e4af /sleekxmpp/test/sleektest.py | |
parent | aeb7999e6af33cf1c7197fa68ba826552c6cf0dd (diff) | |
download | slixmpp-95ad8a1878c5792101e6bd9d1f64a2bbbe223398.tar.gz slixmpp-95ad8a1878c5792101e6bd9d1f64a2bbbe223398.tar.bz2 slixmpp-95ad8a1878c5792101e6bd9d1f64a2bbbe223398.tar.xz slixmpp-95ad8a1878c5792101e6bd9d1f64a2bbbe223398.zip |
fixed stream test not disconnecting cleanly
Diffstat (limited to 'sleekxmpp/test/sleektest.py')
-rw-r--r-- | sleekxmpp/test/sleektest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/test/sleektest.py b/sleekxmpp/test/sleektest.py index 89e3712f..efe81212 100644 --- a/sleekxmpp/test/sleektest.py +++ b/sleekxmpp/test/sleektest.py @@ -638,8 +638,8 @@ class SleekTest(unittest.TestCase): that the XMPP client is disconnected after an error. """ if hasattr(self, 'xmpp') and self.xmpp is not None: - self.xmpp.disconnect() self.xmpp.socket.recv_data(self.xmpp.stream_footer) + self.xmpp.disconnect() # ------------------------------------------------------------------ # XML Comparison and Cleanup |