From bc995f2db598f5efa35a50efbd92d9aae317f016 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci-lite[bot]" <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Date: Thu, 12 Mar 2026 17:15:52 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Auto=20format?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_security_oauth2.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tests/test_security_oauth2.py b/tests/test_security_oauth2.py index 053d1dac66..98a44b15b9 100644 --- a/tests/test_security_oauth2.py +++ b/tests/test_security_oauth2.py @@ -213,7 +213,11 @@ def test_openapi_schema(): "type": "string", }, "username": {"title": "Username", "type": "string"}, - "password": {"title": "Password", 'format': 'password', "type": "string"}, + "password": { + "title": "Password", + "format": "password", + "type": "string", + }, "scope": { "title": "Scope", "type": "string", @@ -224,7 +228,9 @@ def test_openapi_schema(): "anyOf": [{"type": "string"}, {"type": "null"}], }, "client_secret": { - "title": "Client Secret", 'format': 'password', "anyOf": [{"type": "string"}, {"type": "null"}], + "title": "Client Secret", + "format": "password", + "anyOf": [{"type": "string"}, {"type": "null"}], }, }, },