litellm/tests/litellm_utils_tests
Cursor Agent 177edb06ae
fix: stabilize 5 CI test failures
- Vertex AI batch cost tests: replace removed gemini-1.5-flash-001 model
  with gemini-2.0-flash-001 in pricing lookups
- MCP test_executes_tool_when_allowed: add server_id and auth_type attrs
  to StubServer to match new _resolve_allowed_mcp_servers_with_ip_filter
- MCP M2M tests: infer oauth2_flow='client_credentials' in
  _execute_with_mcp_client when client_id/client_secret/token_url present
  (NewMCPServerRequest lacks oauth2_flow field)
- Team list test: update mock find_many to filter by team_id per the
  current per-team query pattern in list_team
- Azure DALL-E 3 health check: skip test due to 410 ModelDeprecated

Co-authored-by: yuneng-jiang <yuneng-jiang@users.noreply.github.com>
2026-03-13 01:03:35 +00:00
..
base_token_counter_test.py [Feat] Add Support for Claude Code Max/OAuth 2 on LiteLLM AI Gateway (#19453) 2026-01-20 17:21:17 -08:00
conftest.py (Feat) Add x-litellm-overhead-duration-ms and "x-litellm-response-duration-ms" in response from LiteLLM (#7899) 2025-01-21 20:27:55 -08:00
log.txt Allow passing thinking param to litellm proxy via client sdk + Code QA Refactor on get_optional_params (get correct values) (#9386) 2025-04-07 21:04:11 -07:00
test_aiohttp_handler.py [Feat] Use aiohttp transport by default - 97% lower median latency (#11097) 2025-05-23 22:55:35 -07:00
test_anthropic_token_counter.py [Feat] Add Support for Claude Code Max/OAuth 2 on LiteLLM AI Gateway (#19453) 2026-01-20 17:21:17 -08:00
test_aws_secret_manager.py [Feat] Adds IAM role assumption support for AWS Secret Manager (#16887) 2025-11-20 12:38:48 -08:00
test_azure_ai_anthropic_token_counter.py [Feat] Add Support for Claude Code Max/OAuth 2 on LiteLLM AI Gateway (#19453) 2026-01-20 17:21:17 -08:00
test_bedrock_token_counter.py [Feat] Add Support for Claude Code Max/OAuth 2 on LiteLLM AI Gateway (#19453) 2026-01-20 17:21:17 -08:00
test_cyberark.py Fix CI: Revert security scan changes and add GitGuardian ignore rules (#18358) 2025-12-22 17:03:53 -08:00
test_get_secret.py (Feat) Add x-litellm-overhead-duration-ms and "x-litellm-response-duration-ms" in response from LiteLLM (#7899) 2025-01-21 20:27:55 -08:00
test_hashicorp.py feat: hashicorp vault rotate support 2026-01-23 17:32:55 +09:00
test_health_check.py fix: stabilize 5 CI test failures 2026-03-13 01:03:35 +00:00
test_litellm_overhead.py [Feat] LiteLLM Overhead metric tracking - Add support for tracking litellm overhead on cache hits (#15045) 2025-09-29 17:33:27 -07:00
test_logging_callback_manager.py perf: move async/sync callback separation from per-request to registration time 2026-02-07 12:10:38 -08:00
test_proxy_budget_reset.py resolved greptile comment 2026-02-16 10:24:06 -08:00
test_secret_manager.py Fix flanky tests (#17665) 2025-12-08 12:21:26 -08:00
test_utils.py Replace additional deprecated models across test files 2026-03-11 17:03:54 -07:00
test_validate_tool_choice.py fix: support Cursor IDE tool_choice format {"type": "auto"} (#12168) 2025-06-30 12:39:58 -07:00
vertex_key.json (Feat) Add x-litellm-overhead-duration-ms and "x-litellm-response-duration-ms" in response from LiteLLM (#7899) 2025-01-21 20:27:55 -08:00