test: justify pricing helper patches
Some checks failed
LiteLLM Rust / rustfmt, clippy, test (push) Has been cancelled
Terraform Modules / fmt, validate, test (aws) (push) Has been cancelled
Terraform Provider / gofmt, vet, build, test (push) Has been cancelled
Terraform Provider / Provider endpoints vs proxy OpenAPI schema (push) Has been cancelled

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
yassin 2026-09-02 15:57:56 +00:00
parent 25f275ea58
commit 186e04b2d9

View file

@ -461,7 +461,7 @@ def test_service_tier_audio_tokens_use_base_audio_rate():
),
)
with patch(
with patch( # test-quality-ok: custom model info isolates the pricing behavior under test
"litellm.litellm_core_utils.llm_cost_calc.utils.get_model_info",
return_value=mock_model_info,
):
@ -508,7 +508,7 @@ def test_count_and_duration_priced_modalities_not_double_billed():
),
)
with patch(
with patch( # test-quality-ok: custom model info isolates the pricing behavior under test
"litellm.litellm_core_utils.llm_cost_calc.utils.get_model_info",
return_value=mock_model_info,
):