test_handle_jwt.py

This commit is contained in:
Ishaan Jaff
2025-08-13 17:27:50 -07:00
parent 8e76f8e7d0
commit 086621e3d3
@@ -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(