summaryrefslogtreecommitdiff
path: root/tests/test_stanza_xep_0059.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_stanza_xep_0059.py')
-rw-r--r--tests/test_stanza_xep_0059.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_stanza_xep_0059.py b/tests/test_stanza_xep_0059.py
index 246481ce..028ec62f 100644
--- a/tests/test_stanza_xep_0059.py
+++ b/tests/test_stanza_xep_0059.py
@@ -24,7 +24,7 @@ class TestSetStanzas(SlixTest):
"""
s = Set(ET.fromstring(xml_string))
expected = '10'
- self.failUnless(s['first_index'] == expected)
+ self.assertTrue(s['first_index'] == expected)
def testDelFirstIndex(self):
xml_string = """
@@ -57,7 +57,7 @@ class TestSetStanzas(SlixTest):
"""
s = Set(ET.fromstring(xml_string))
expected = True
- self.failUnless(s['before'] == expected)
+ self.assertTrue(s['before'] == expected)
def testGetBefore(self):
xml_string = """
@@ -89,7 +89,7 @@ class TestSetStanzas(SlixTest):
"""
s = Set(ET.fromstring(xml_string))
expected = 'id'
- self.failUnless(s['before'] == expected)
+ self.assertTrue(s['before'] == expected)
def testGetBeforeVal(self):
xml_string = """