summaryrefslogtreecommitdiff
path: root/tests/test_errorstanzas.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_errorstanzas.py')
-rw-r--r--tests/test_errorstanzas.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_errorstanzas.py b/tests/test_errorstanzas.py
index d6fafc59..a883b7ef 100644
--- a/tests/test_errorstanzas.py
+++ b/tests/test_errorstanzas.py
@@ -6,7 +6,7 @@ class TestErrorStanzas(SleekTest):
"""Test setting initial values in error stanza."""
msg = self.Message()
msg.enable('error')
- self.checkMessage(msg, """
+ self.check_message(msg, """
<message type="error">
<error type="cancel">
<feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />
@@ -19,7 +19,7 @@ class TestErrorStanzas(SleekTest):
msg = self.Message()
msg['error']['condition'] = 'item-not-found'
- self.checkMessage(msg, """
+ self.check_message(msg, """
<message type="error">
<error type="cancel">
<item-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />
@@ -31,7 +31,7 @@ class TestErrorStanzas(SleekTest):
del msg['error']['condition']
- self.checkMessage(msg, """
+ self.check_message(msg, """
<message type="error">
<error type="cancel" />
</message>
@@ -45,7 +45,7 @@ class TestErrorStanzas(SleekTest):
del msg['error']['condition']
- self.checkMessage(msg, """
+ self.check_message(msg, """
<message type="error">
<error type="cancel">
<text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">Error!</text>