@@ -121,7 +121,7 @@ def func():
121121
122122def test_thing_action (empty_cls ):
123123 wrapped_cls = decorators .thing_action (empty_cls )
124- assert wrapped_cls .__apispec__ ["tags" ] == set ([ "actions" ])
124+ assert wrapped_cls .__apispec__ ["tags" ] == { "actions" }
125125
126126
127127def test_safe (empty_cls ):
@@ -136,12 +136,12 @@ def test_idempotent(empty_cls):
136136
137137def test_thing_property (view_cls ):
138138 wrapped_cls = decorators .thing_property (view_cls )
139- assert wrapped_cls .__apispec__ ["tags" ] == set ([ "properties" ])
139+ assert wrapped_cls .__apispec__ ["tags" ] == { "properties" }
140140
141141
142142def test_thing_property_empty_class (empty_cls , app_ctx ):
143143 wrapped_cls = decorators .thing_property (empty_cls )
144- assert wrapped_cls .__apispec__ ["tags" ] == set ([ "properties" ])
144+ assert wrapped_cls .__apispec__ ["tags" ] == { "properties" }
145145
146146
147147def test_thing_property_property_notify (view_cls , app_ctx ):
@@ -307,12 +307,12 @@ def test_doc(empty_cls):
307307
308308def test_tag (empty_cls ):
309309 wrapped_cls = decorators .tag (["tag" , "tag2" ])(empty_cls )
310- assert wrapped_cls .__apispec__ ["tags" ] == set ([ "tag" , "tag2" ])
310+ assert wrapped_cls .__apispec__ ["tags" ] == { "tag" , "tag2" }
311311
312312
313313def test_tag_single (empty_cls ):
314314 wrapped_cls = decorators .tag ("tag" )(empty_cls )
315- assert wrapped_cls .__apispec__ ["tags" ] == set ([ "tag" ])
315+ assert wrapped_cls .__apispec__ ["tags" ] == { "tag" }
316316
317317
318318def test_tag_invalid (empty_cls ):
0 commit comments