Skip to content

Commit ade7c43

Browse files
committed
run make black
1 parent 2817379 commit ade7c43

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/swagger/test_swagger.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1457,6 +1457,7 @@ def test_should_include_none_if_default_is_overwritte(self):
14571457
self.editor.add_auth_to_method("/cognito", "get", auth, self.api)
14581458
self.assertEqual([{"NONE": []}], self.editor.swagger["paths"]["/cognito"]["get"]["security"])
14591459

1460+
14601461
class TestSwaggerEditor_set_path_default_authorizer(TestCase):
14611462
def setUp(self):
14621463
self.api = api = {
@@ -1488,4 +1489,6 @@ def setUp(self):
14881489

14891490
def test_should_fail_when_path_methods_are_invalid(self):
14901491
with self.assertRaises(InvalidDocumentException):
1491-
self.editor.set_path_default_authorizer("/cognito", "MyCognitoAuth", {"MyOtherCognitoAuth": {}, "MyCognitoAuth": {}})
1492+
self.editor.set_path_default_authorizer(
1493+
"/cognito", "MyCognitoAuth", {"MyOtherCognitoAuth": {}, "MyCognitoAuth": {}}
1494+
)

0 commit comments

Comments
 (0)