From 872f59b4d6acb9c09613103627c0df55e2f0bd8e Mon Sep 17 00:00:00 2001 From: Joao-Pedro-P-Holanda Date: Thu, 13 Feb 2025 20:46:33 -0300 Subject: [PATCH] fix: correcting redeclaration of function changing function redeclaration in tests/test_security_oauth2_scopes.py --- tests/test_security_oauth2_scopes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_security_oauth2_scopes.py b/tests/test_security_oauth2_scopes.py index 7bd0e6c2c..52ce4b790 100644 --- a/tests/test_security_oauth2_scopes.py +++ b/tests/test_security_oauth2_scopes.py @@ -24,7 +24,7 @@ async def read_single_scope( @app.get("/me-and-items") -async def read_single_scope( +async def read_multiple_scopes( current_scope=Security(get_security_scopes, scopes=["me", "items"]), ): return {"scopes": current_scope}