summaryrefslogtreecommitdiff
path: root/tests/test_stream_roster.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-03-10 12:48:35 -0800
committerLance Stout <lancestout@gmail.com>2012-03-10 12:48:35 -0800
commit91155444c0f66ed3172ff8fc669a5eebe514e9cc (patch)
tree0444b5ba230a9aceb28fd5977b45ac63218c60d4 /tests/test_stream_roster.py
parent7f71ac7e0a43ca7a7b4347fe8f1bab0cb76e9741 (diff)
downloadslixmpp-91155444c0f66ed3172ff8fc669a5eebe514e9cc.tar.gz
slixmpp-91155444c0f66ed3172ff8fc669a5eebe514e9cc.tar.bz2
slixmpp-91155444c0f66ed3172ff8fc669a5eebe514e9cc.tar.xz
slixmpp-91155444c0f66ed3172ff8fc669a5eebe514e9cc.zip
Resolve plugin dependency chains with XEP-0115.
The post_init() system can only reliably handle a single layer of dependencies between plugins, but PEP plugins with XEP-0115 exceed that limit and plugins can be post_init'ed out of order. To resolve this, we will special case XEP-0115 to be post_init'ed first until the new plugin system with dependency tracking is stable.
Diffstat (limited to 'tests/test_stream_roster.py')
-rw-r--r--tests/test_stream_roster.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_stream_roster.py b/tests/test_stream_roster.py
index 535a0080..2d0da173 100644
--- a/tests/test_stream_roster.py
+++ b/tests/test_stream_roster.py
@@ -226,7 +226,7 @@ class TestStreamRoster(SleekTest):
def testRosterUnicode(self):
"""Test that JIDs with Unicode values are handled properly."""
- self.stream_start()
+ self.stream_start(plugins=[])
self.recv("""
<iq to="tester@localhost" type="set" id="1">
<query xmlns="jabber:iq:roster">
@@ -267,7 +267,7 @@ class TestStreamRoster(SleekTest):
def testSendLastPresence(self):
"""Test that sending the last presence works."""
- self.stream_start()
+ self.stream_start(plugins=[])
self.xmpp.send_presence(pshow='dnd')
self.xmpp.auto_authorize = True
self.xmpp.auto_subscribe = True