summaryrefslogtreecommitdiff
path: root/tests/test_plugins.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_plugins.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_plugins.py')
-rw-r--r--tests/test_plugins.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_plugins.py b/tests/test_plugins.py
index ee6d44c0..a8cc2744 100644
--- a/tests/test_plugins.py
+++ b/tests/test_plugins.py
@@ -14,21 +14,21 @@ class B(BasePlugin):
class C(BasePlugin):
name = 'c'
- dependencies = set(['b', 'd'])
+ dependencies = {'b', 'd'}
class D(BasePlugin):
name = 'd'
- dependencies = set(['c'])
+ dependencies = {'c'}
class E(BasePlugin):
name = 'e'
- dependencies = set(['a', 'd'])
+ dependencies = {'a', 'd'}
class F(BasePlugin):
name = 'f'
- dependencies = set(['a', 'b'])
+ dependencies = {'a', 'b'}
register_plugin(A)