mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-10 21:04:46 +00:00
494aad4a68
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)