mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-14 23:21:35 +00:00
test_handle_jwt.py
This commit is contained in:
parent
8e76f8e7d0
commit
086621e3d3
1 changed files with 2 additions and 2 deletions
|
|
@ -186,7 +186,7 @@ async def test_auth_builder_proxy_admin_user_role():
|
|||
JWTAuthManager,
|
||||
"get_objects",
|
||||
new_callable=AsyncMock,
|
||||
return_value=(user_object, None, None),
|
||||
return_value=(user_object, None, None, None),
|
||||
) as mock_get_objects, patch.object(
|
||||
JWTAuthManager, "map_user_to_teams", new_callable=AsyncMock
|
||||
) as mock_map_user, patch.object(
|
||||
|
|
@ -270,7 +270,7 @@ async def test_auth_builder_non_proxy_admin_user_role():
|
|||
JWTAuthManager,
|
||||
"get_objects",
|
||||
new_callable=AsyncMock,
|
||||
return_value=(user_object, None, None),
|
||||
return_value=(user_object, None, None, None),
|
||||
) as mock_get_objects, patch.object(
|
||||
JWTAuthManager, "map_user_to_teams", new_callable=AsyncMock
|
||||
) as mock_map_user, patch.object(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue