summaryrefslogtreecommitdiff
path: root/tests/test_stanza_xep_0050.py
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-10-22 13:21:06 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-10-22 13:21:44 +0100
commitdcacc7d7d50d3f720cb14f1382c6d4f5a13664a4 (patch)
tree2fcadd89e8d8244a22769edd57426c8e2146d2ad /tests/test_stanza_xep_0050.py
parentc4285961df7004f6c54d6d38960c4c075d0877b6 (diff)
downloadslixmpp-dcacc7d7d50d3f720cb14f1382c6d4f5a13664a4.tar.gz
slixmpp-dcacc7d7d50d3f720cb14f1382c6d4f5a13664a4.tar.bz2
slixmpp-dcacc7d7d50d3f720cb14f1382c6d4f5a13664a4.tar.xz
slixmpp-dcacc7d7d50d3f720cb14f1382c6d4f5a13664a4.zip
sed -i 's/set(\[\(.*\)\])$/{\1}/g' **/*.py
Diffstat (limited to 'tests/test_stanza_xep_0050.py')
-rw-r--r--tests/test_stanza_xep_0050.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_stanza_xep_0050.py b/tests/test_stanza_xep_0050.py
index 7272d783..0898b136 100644
--- a/tests/test_stanza_xep_0050.py
+++ b/tests/test_stanza_xep_0050.py
@@ -51,7 +51,7 @@ class TestAdHocCommandStanzas(SlixTest):
iq['command']['actions'] = ['prev', 'next']
results = iq['command']['actions']
- expected = set(['prev', 'next'])
+ expected = {'prev', 'next'}
self.assertEqual(results, expected,
"Incorrect next actions: %s" % results)