summaryrefslogtreecommitdiff
path: root/sleekxmpp/test
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-04-08 21:15:53 -0400
committerLance Stout <lancestout@gmail.com>2012-04-08 21:15:53 -0400
commit15ef27314189baeee64fbe41ab87f1eebef6e85c (patch)
tree7301f7518332bb0a2c5295b9f42a3e9aa3dd2fcf /sleekxmpp/test
parenteed6da538a33711f19adc70b00071af43005062a (diff)
downloadslixmpp-15ef27314189baeee64fbe41ab87f1eebef6e85c.tar.gz
slixmpp-15ef27314189baeee64fbe41ab87f1eebef6e85c.tar.bz2
slixmpp-15ef27314189baeee64fbe41ab87f1eebef6e85c.tar.xz
slixmpp-15ef27314189baeee64fbe41ab87f1eebef6e85c.zip
Add a prefix to stanza ID values to ensure that they are unique per client.
Diffstat (limited to 'sleekxmpp/test')
-rw-r--r--sleekxmpp/test/sleektest.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/sleekxmpp/test/sleektest.py b/sleekxmpp/test/sleektest.py
index 364e5939..bc83472e 100644
--- a/sleekxmpp/test/sleektest.py
+++ b/sleekxmpp/test/sleektest.py
@@ -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()