diff options
author | Lance Stout <lancestout@gmail.com> | 2010-07-19 13:58:53 -0400 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2010-07-19 13:58:53 -0400 |
commit | d5e42ac0e7282500583bf17f21eb2f944600ce76 (patch) | |
tree | 28decf6b57e7072748f59c05d84de0f1fdf4101d /tests/test_messagestanzas.py | |
parent | e6bec8681e07ced607db1fbcbc5e356c3936f1d1 (diff) | |
download | slixmpp-d5e42ac0e7282500583bf17f21eb2f944600ce76.tar.gz slixmpp-d5e42ac0e7282500583bf17f21eb2f944600ce76.tar.bz2 slixmpp-d5e42ac0e7282500583bf17f21eb2f944600ce76.tar.xz slixmpp-d5e42ac0e7282500583bf17f21eb2f944600ce76.zip |
Condensed all of the stanzaPlugin functions into a single registerStanzaPlugin function.
Updated plugins and tests to use new function.
Diffstat (limited to 'tests/test_messagestanzas.py')
-rw-r--r-- | tests/test_messagestanzas.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_messagestanzas.py b/tests/test_messagestanzas.py index 08488ce3..026a5782 100644 --- a/tests/test_messagestanzas.py +++ b/tests/test_messagestanzas.py @@ -5,9 +5,9 @@ class testmessagestanzas(unittest.TestCase): def setUp(self): import sleekxmpp.stanza.message as m - from sleekxmpp.basexmpp import stanzaPlugin + from sleekxmpp.basexmpp import registerStanzaPlugin from sleekxmpp.stanza.htmlim import HTMLIM - stanzaPlugin(m.Message, HTMLIM) + registerStanzaPlugin(m.Message, HTMLIM) self.m = m def testGroupchatReplyRegression(self): |