diff --git a/tests/test_security_oauth2_authorization_code_bearer_scopes_openapi.py b/tests/test_security_oauth2_authorization_code_bearer_scopes_openapi.py index b99e700e3..97d79462a 100644 --- a/tests/test_security_oauth2_authorization_code_bearer_scopes_openapi.py +++ b/tests/test_security_oauth2_authorization_code_bearer_scopes_openapi.py @@ -36,7 +36,8 @@ async def read_with_oauth2_scheme(): @app.get( - "/with-get-token", dependencies=[Security(get_token, oauth_scopes=["read", "write"])] + "/with-get-token", + dependencies=[Security(get_token, oauth_scopes=["read", "write"])], ) async def read_with_get_token(): return {"message": "Admin Access"}