diff options
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> |