From 15ef27314189baeee64fbe41ab87f1eebef6e85c Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Sun, 8 Apr 2012 21:15:53 -0400 Subject: Add a prefix to stanza ID values to ensure that they are unique per client. --- sleekxmpp/test/sleektest.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sleekxmpp/test') 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() -- cgit v1.2.3