From c79776d3da5c458990286a08499dd855aaf2ff67 Mon Sep 17 00:00:00 2001 From: mateo-berri <277851410+mateo-berri@users.noreply.github.com> Date: Tue, 1 Sep 2026 13:03:21 -0700 Subject: [PATCH] test(proxy): give the anthropic counter patch its test-quality-ok reason --- tests/proxy_unit_tests/test_proxy_token_counter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/proxy_unit_tests/test_proxy_token_counter.py b/tests/proxy_unit_tests/test_proxy_token_counter.py index e97b4e02f15..5a4ad1ed272 100644 --- a/tests/proxy_unit_tests/test_proxy_token_counter.py +++ b/tests/proxy_unit_tests/test_proxy_token_counter.py @@ -388,7 +388,7 @@ async def test_internal_token_counter_anthropic_provider_detection(): ) # Test with is_direct_request=False (simulating call from Anthropic endpoint) - with patch( + with patch( # test-quality-ok: the module-global anthropic counter is the only seam; the test checks provider detection, not the counter "litellm.llms.anthropic.count_tokens.token_counter.anthropic_count_tokens_handler", mock_handler, ):