diff options
author | Florent Le Coz <louiz@louiz.org> | 2014-07-17 14:19:04 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2014-07-17 14:19:04 +0200 |
commit | 5ab77c745270d7d5c016c1dc7ef2a82533a4b16e (patch) | |
tree | 259377cc666f8b9c7954fc4e7b8f7a912bcfe101 /tests/test_stanza_message.py | |
parent | e5582694c07236e6830c20361840360a1dde37f3 (diff) | |
download | slixmpp-5ab77c745270d7d5c016c1dc7ef2a82533a4b16e.tar.gz slixmpp-5ab77c745270d7d5c016c1dc7ef2a82533a4b16e.tar.bz2 slixmpp-5ab77c745270d7d5c016c1dc7ef2a82533a4b16e.tar.xz slixmpp-5ab77c745270d7d5c016c1dc7ef2a82533a4b16e.zip |
Rename to slixmpp
Diffstat (limited to 'tests/test_stanza_message.py')
-rw-r--r-- | tests/test_stanza_message.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/test_stanza_message.py b/tests/test_stanza_message.py index 9968a630..c7b6f7e6 100644 --- a/tests/test_stanza_message.py +++ b/tests/test_stanza_message.py @@ -1,11 +1,11 @@ import unittest -from sleekxmpp.test import SleekTest -from sleekxmpp.stanza.message import Message -from sleekxmpp.stanza.htmlim import HTMLIM -from sleekxmpp.xmlstream import register_stanza_plugin +from slixmpp.test import SlixTest +from slixmpp.stanza.message import Message +from slixmpp.stanza.htmlim import HTMLIM +from slixmpp.xmlstream import register_stanza_plugin -class TestMessageStanzas(SleekTest): +class TestMessageStanzas(SlixTest): def setUp(self): register_stanza_plugin(Message, HTMLIM) @@ -29,12 +29,12 @@ class TestMessageStanzas(SleekTest): def testHTMLPlugin(self): "Test message/html/body stanza" msg = self.Message() - msg['to'] = "fritzy@netflint.net/sleekxmpp" + msg['to'] = "fritzy@netflint.net/slixmpp" msg['body'] = "this is the plaintext message" msg['type'] = 'chat' msg['html']['body'] = '<p>This is the htmlim message</p>' self.check(msg, """ - <message to="fritzy@netflint.net/sleekxmpp" type="chat"> + <message to="fritzy@netflint.net/slixmpp" type="chat"> <body>this is the plaintext message</body> <html xmlns="http://jabber.org/protocol/xhtml-im"> <body xmlns="http://www.w3.org/1999/xhtml"> |