Add a prefix to stanza ID values to ensure that they are unique per client.

This commit is contained in:
Lance Stout
2012-04-08 21:15:53 -04:00
parent eed6da538a
commit 15ef273141
2 changed files with 8 additions and 1 deletions

View File

@@ -330,6 +330,9 @@ class SleekTest(unittest.TestCase):
else:
raise ValueError("Unknown XMPP connection mode.")
# Remove unique ID prefix to make it easier to test
self.xmpp._id_prefix = ''
# We will use this to wait for the session_start event
# for live connections.
skip_queue = queue.Queue()