summaryrefslogtreecommitdiff
path: root/tests/test_stanza_xep_0030.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_stanza_xep_0030.py')
-rw-r--r--tests/test_stanza_xep_0030.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/test_stanza_xep_0030.py b/tests/test_stanza_xep_0030.py
index 71dc7032..d85f1980 100644
--- a/tests/test_stanza_xep_0030.py
+++ b/tests/test_stanza_xep_0030.py
@@ -254,10 +254,10 @@ class TestDisco(SlixTest):
iq['disco_info'].add_identity('client', 'pc', lang='en')
iq['disco_info'].add_identity('client', 'pc', lang='fr')
- expected = set([('client', 'pc', None, None),
- ('client', 'pc', 'no', None),
- ('client', 'pc', 'en', None),
- ('client', 'pc', 'fr', None)])
+ expected = {('client', 'pc', None, None),
+ ('client', 'pc', 'no', None),
+ ('client', 'pc', 'en', None),
+ ('client', 'pc', 'fr', None)}
self.failUnless(iq['disco_info']['identities'] == expected,
"Identities do not match:\n%s\n%s" % (
expected,
@@ -472,9 +472,9 @@ class TestDisco(SlixTest):
node='bar',
name='Tester')
- expected = set([('user@localhost', None, None),
- ('user@localhost', 'foo', None),
- ('test@localhost', 'bar', 'Tester')])
+ expected = {('user@localhost', None, None),
+ ('user@localhost', 'foo', None),
+ ('test@localhost', 'bar', 'Tester')}
self.failUnless(iq['disco_items']['items'] == expected,
"Items do not match:\n%s\n%s" % (
expected,