litellm/tests/test_litellm/proxy/management_endpoints
Cole McIntosh 491555d32d
fix(test_team_endpoints.py): fix AsyncMock error in test_new_team_with_object_permission (#12730)
Replace MagicMock with AsyncMock for litellm_teamtable.update to fix:
TypeError: object MagicMock can't be used in 'await' expression

The test was failing because it tried to await a MagicMock object.
Added AsyncMock for the update method to properly handle async operations.
2025-07-18 07:25:16 -07:00
..
scim [Bug Fix] SCIM - add GET /ServiceProviderConfig (#12664) 2025-07-16 15:43:25 -07:00
test_budget_endpoints.py [Bug Fix] Create/Update team member api 500 errror (#10479) 2025-06-03 15:57:33 -07:00
test_callback_management_endpoints.py fix test 2025-07-03 15:37:10 -07:00
test_common_daily_activity.py Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
test_customer_endpoints.py Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
test_delete_callbacks_endpoint.py Feat/add delete callback (#11654) 2025-06-20 13:50:37 -07:00
test_internal_user_endpoints.py fix(team_endpoints.py): ensure user id correctly added when new team … (#12719) 2025-07-17 22:31:44 -07:00
test_key_management_endpoints.py Raise clearer error on Anthropic Unified route + allow setting new_key on /key/regenerate 2025-06-26 21:56:03 -07:00
test_mcp_management_endpoints.py Litellm mcp internal users (#12458) 2025-07-09 16:30:51 -07:00
test_model_management_endpoints.py Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
test_organization_endpoints.py [Fix] QA Fixes - Vector Store Object Permissions (#11291) 2025-05-31 09:41:05 -07:00
test_tag_management_endpoints.py LiteLLM SDK <-> Proxy improvement (don't transform message client-side) + Bedrock - handle qs:.. in base64 file data + Tag Management - support adding public model names (#11908) 2025-06-19 22:34:18 -07:00
test_team_endpoints.py fix(test_team_endpoints.py): fix AsyncMock error in test_new_team_with_object_permission (#12730) 2025-07-18 07:25:16 -07:00
test_ui_sso.py [Feat] SSO - Allow users to run a custom sso login handler (#12465) 2025-07-09 16:36:30 -07:00