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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user