diff options
author | Lance Stout <lancestout@gmail.com> | 2010-10-07 09:22:27 -0400 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2010-10-07 09:22:27 -0400 |
commit | 75a051556f2cf65f75534102a7fe57a52571494a (patch) | |
tree | 7b0205c55b16bde132eb9d7443bb9c56f1dde5da /tests/test_messagestanzas.py | |
parent | 78141fe5f3d3e8267b6969690b93dd7aba41cf65 (diff) | |
download | slixmpp-75a051556f2cf65f75534102a7fe57a52571494a.tar.gz slixmpp-75a051556f2cf65f75534102a7fe57a52571494a.tar.bz2 slixmpp-75a051556f2cf65f75534102a7fe57a52571494a.tar.xz slixmpp-75a051556f2cf65f75534102a7fe57a52571494a.zip |
Changed SleekTest to use underscored names.
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 2a1567da..d57f5ad4 100644 --- a/tests/test_messagestanzas.py +++ b/tests/test_messagestanzas.py @@ -33,7 +33,7 @@ class TestMessageStanzas(SleekTest): p = ET.Element('{http://www.w3.org/1999/xhtml}p') p.text = "This is the htmlim message" msg['html']['body'] = p - self.checkMessage(msg, """ + self.check_message(msg, """ <message to="fritzy@netflint.net/sleekxmpp" type="chat"> <body>this is the plaintext message</body> <html xmlns="http://jabber.org/protocol/xhtml-im"> @@ -47,7 +47,7 @@ class TestMessageStanzas(SleekTest): "Test message/nick/nick stanza." msg = self.Message() msg['nick']['nick'] = 'A nickname!' - self.checkMessage(msg, """ + self.check_message(msg, """ <message> <nick xmlns="http://jabber.org/nick/nick">A nickname!</nick> </message> |