Track threads to ensure all have exited when disconnecting.

This commit is contained in:
Lance Stout
2012-04-22 18:13:36 -07:00
parent 913738444e
commit a20a9c505d
3 changed files with 57 additions and 38 deletions

View File

@@ -332,6 +332,7 @@ class SleekTest(unittest.TestCase):
# Remove unique ID prefix to make it easier to test
self.xmpp._id_prefix = ''
self.xmpp._disconnect_wait_for_threads = False
# We will use this to wait for the session_start event
# for live connections.