litellm/tests/test_litellm/proxy/pass_through_endpoints
Ishaan Jaff 494aad4a68
fix(tests): isolate auth in vertex passthrough and spend logs date range tests (#21824)
test_vertex_passthrough_with_default_credentials and
test_view_spend_logs_with_date_range_summarized fail intermittently when a
prior xdist worker sets master_key — auth then rejects the unauthenticated
test requests before the code under test is reached.

- mock user_api_key_auth in test_vertex_passthrough_with_default_credentials
  (same pattern used for test_vertex_passthrough_with_no_default_credentials
  in #21810)
- wrap test_view_spend_logs_with_date_range_summarized in
  app.dependency_overrides[ps.user_api_key_auth] with try/finally cleanup
  (same pattern used for the other spend log tests in #21810)
2026-02-21 14:14:50 -08:00
..
llm_provider_handlers Guardrails API - support LLM tool call response checks on /chat/completions, /v1/responses, /v1/messages on regular + streaming calls (#17619) 2025-12-15 18:19:52 +05:30
test_llm_pass_through_endpoints.py fix(tests): isolate auth in vertex passthrough and spend logs date range tests (#21824) 2026-02-21 14:14:50 -08:00
test_method_specific_routing.py Add test got method speicifc routing 2026-02-19 11:58:48 +05:30
test_pass_through_endpoints.py fix: add custom_body parameter to endpoint_func in create_pass_through_route (#20849) 2026-02-13 16:44:40 -08:00
test_passthrough_endpoints_common_utils.py test fix location of encode bedrock runtime modelid arn 2025-08-22 17:34:09 -07:00
test_passthrough_guardrails.py [Feat] Add guardrails for pass through endpoints (#17221) 2025-11-27 12:06:53 -08:00
test_passthrough_guardrails_field_targeting.py chore: cleanup unused scripts and fix misplaced test file (#17611) 2025-12-08 19:00:55 -08:00
test_vertex_ai_batch_passthrough.py Fix batch tests 2026-01-22 19:23:32 +05:30
test_vertex_passthrough_load_balancing.py [Fix] VertexAI Pass through - fix regression that caused vertex ai passthroughs to stop working for router models (#19967) 2026-01-28 16:54:01 -08:00