summaryrefslogtreecommitdiff
path: root/tests/test_stanza_error.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_stanza_error.py')
-rw-r--r--tests/test_stanza_error.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_stanza_error.py b/tests/test_stanza_error.py
index c6a92eb6..143fe479 100644
--- a/tests/test_stanza_error.py
+++ b/tests/test_stanza_error.py
@@ -34,7 +34,7 @@ class TestErrorStanzas(SlixTest):
</message>
""")
- self.failUnless(msg['error']['condition'] == 'item-not-found', "Error condition doesn't match.")
+ self.assertTrue(msg['error']['condition'] == 'item-not-found', "Error condition doesn't match.")
msg['error']['condition'] = 'resource-constraint'