Browse Source

🎨 Auto format

pull/15099/head
pre-commit-ci-lite[bot] 4 months ago
committed by GitHub
parent
commit
bc995f2db5
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 10
      tests/test_security_oauth2.py

10
tests/test_security_oauth2.py

@ -213,7 +213,11 @@ def test_openapi_schema():
"type": "string", "type": "string",
}, },
"username": {"title": "Username", "type": "string"}, "username": {"title": "Username", "type": "string"},
"password": {"title": "Password", 'format': 'password', "type": "string"}, "password": {
"title": "Password",
"format": "password",
"type": "string",
},
"scope": { "scope": {
"title": "Scope", "title": "Scope",
"type": "string", "type": "string",
@ -224,7 +228,9 @@ def test_openapi_schema():
"anyOf": [{"type": "string"}, {"type": "null"}], "anyOf": [{"type": "string"}, {"type": "null"}],
}, },
"client_secret": { "client_secret": {
"title": "Client Secret", 'format': 'password', "anyOf": [{"type": "string"}, {"type": "null"}], "title": "Client Secret",
"format": "password",
"anyOf": [{"type": "string"}, {"type": "null"}],
}, },
}, },
}, },

Loading…
Cancel
Save