From 41d92bd55f496bf5b2159a2ff5d35c7fd17d064a Mon Sep 17 00:00:00 2001 From: silencedoctor <33445544+silencedoctor@users.noreply.github.com> Date: Fri, 4 Sep 2026 18:03:11 +0800 Subject: [PATCH] test(proxy): document budget key boundary --- tests/test_litellm/proxy/auth/test_multi_budget_windows.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_litellm/proxy/auth/test_multi_budget_windows.py b/tests/test_litellm/proxy/auth/test_multi_budget_windows.py index 23444018315..e16ba6bc7bf 100644 --- a/tests/test_litellm/proxy/auth/test_multi_budget_windows.py +++ b/tests/test_litellm/proxy/auth/test_multi_budget_windows.py @@ -175,14 +175,14 @@ async def test_user_budget_limits_under_budget_passes(): # test-quality-ok: cou @pytest.mark.asyncio -async def test_user_budget_window_key_encodes_namespace_delimiters(): +async def test_user_budget_window_key_encodes_namespace_delimiters(): # test-quality-ok: key namespace is the observable boundary user_id = "user:window:1h" user = LiteLLM_UserTable( user_id=user_id, budget_limits=[{"budget_duration": "1d", "max_budget": 10.0}], ) - with patch( + with patch( # test-quality-ok: no injected spend reader exists at this auth boundary "litellm.proxy.proxy_server.get_current_spend", new_callable=AsyncMock, return_value=1.0,