The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
test(proxy): suppress TQ008 on member temp budget patches
Devin AIb94cd21707d3
diff --git a/tests/test_litellm/proxy/auth/test_auth_checks.py b/tests/test_litellm/proxy/auth/test_auth_checks.pyindex a773a75eb1e..518dad8c48f 100644--- a/tests/test_litellm/proxy/auth/test_auth_checks.py+++ b/tests/test_litellm/proxy/auth/test_auth_checks.py@@ -8532,8 +8532,8 @@ async def test_team_member_budget_check_temp_budget_increase_extends_cap():return fallback_spendwith (- patch("litellm.proxy.proxy_server.get_current_spend", mock_get_current_spend),- patch(+ patch("litellm.proxy.proxy_server.get_current_spend", mock_get_current_spend), # test-quality-ok: [TQ008] no seam on the cross-pod spend counter+ patch( # test-quality-ok: [TQ008] isolates the check from the DB fetch"litellm.proxy.auth.auth_checks.get_team_membership",new_callable=AsyncMock,return_value=team_membership,@@ -8560,8 +8560,8 @@ async def test_team_member_budget_check_temp_budget_increase_extends_cap():),)with (- patch("litellm.proxy.proxy_server.get_current_spend", mock_get_current_spend),- patch(+ patch("litellm.proxy.proxy_server.get_current_spend", mock_get_current_spend), # test-quality-ok: [TQ008] no seam on the cross-pod spend counter+ patch( # test-quality-ok: [TQ008] isolates the check from the DB fetch"litellm.proxy.auth.auth_checks.get_team_membership",new_callable=AsyncMock,return_value=expired_membership,