Condensed all of the stanzaPlugin functions into a single registerStanzaPlugin function.
Updated plugins and tests to use new function.
This commit is contained in:
@@ -5,7 +5,7 @@ import sleekxmpp.plugins.xep_0033 as xep_0033
|
||||
class TestAddresses(SleekTest):
|
||||
|
||||
def setUp(self):
|
||||
self.stanzaPlugin(Message, xep_0033.Addresses)
|
||||
registerStanzaPlugin(Message, xep_0033.Addresses)
|
||||
|
||||
def testAddAddress(self):
|
||||
"""Testing adding extended stanza address."""
|
||||
|
||||
Reference in New Issue
Block a user