From dcacc7d7d50d3f720cb14f1382c6d4f5a13664a4 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sat, 22 Oct 2016 13:21:06 +0100 Subject: sed -i 's/set(\[\(.*\)\])$/{\1}/g' **/*.py --- tests/test_stanza_element.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'tests/test_stanza_element.py') diff --git a/tests/test_stanza_element.py b/tests/test_stanza_element.py index 26cc2438..678a49fd 100644 --- a/tests/test_stanza_element.py +++ b/tests/test_stanza_element.py @@ -754,7 +754,7 @@ class TestElementBase(SlixTest): class TestStanza(ElementBase): name = "foo" namespace = "foo" - interfaces = set(['bar']) + interfaces = {'bar'} bool_interfaces = interfaces stanza = TestStanza() @@ -946,7 +946,7 @@ class TestElementBase(SlixTest): class TestStanza(ElementBase): name = 'foo' namespace = 'test' - interfaces = set(['test']) + interfaces = {'test'} sub_interfaces = interfaces lang_interfaces = interfaces @@ -972,7 +972,7 @@ class TestElementBase(SlixTest): class TestStanza(ElementBase): name = 'foo' namespace = 'test' - interfaces = set(['test']) + interfaces = {'test'} sub_interfaces = interfaces lang_interfaces = interfaces @@ -1008,7 +1008,7 @@ class TestElementBase(SlixTest): class TestStanza(ElementBase): name = 'foo' namespace = 'test' - interfaces = set(['test']) + interfaces = {'test'} sub_interfaces = interfaces lang_interfaces = interfaces @@ -1040,7 +1040,7 @@ class TestElementBase(SlixTest): class TestStanza(ElementBase): name = 'foo' namespace = 'test' - interfaces = set(['test']) + interfaces = {'test'} sub_interfaces = interfaces lang_interfaces = interfaces @@ -1096,7 +1096,7 @@ class TestElementBase(SlixTest): class TestStanza(ElementBase): name = 'foo' namespace = 'test' - interfaces = set(['test']) + interfaces = {'test'} sub_interfaces = interfaces lang_interfaces = interfaces @@ -1136,7 +1136,7 @@ class TestElementBase(SlixTest): class TestStanza(ElementBase): name = 'foo' namespace = 'test' - interfaces = set(['test']) + interfaces = {'test'} sub_interfaces = interfaces lang_interfaces = interfaces @@ -1177,7 +1177,7 @@ class TestElementBase(SlixTest): class TestStanza(ElementBase): name = 'foo' namespace = 'test' - interfaces = set(['test']) + interfaces = {'test'} sub_interfaces = interfaces lang_interfaces = interfaces @@ -1217,7 +1217,7 @@ class TestElementBase(SlixTest): class TestStanza(ElementBase): name = 'foo' namespace = 'test' - interfaces = set(['test']) + interfaces = {'test'} sub_interfaces = interfaces lang_interfaces = interfaces -- cgit v1.2.3