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(auth): annotate the session-minting patch for the test-quality gate
Oliver Jensen40118bd15877
diff --git a/tests/test_litellm/proxy/auth/test_login_utils.py b/tests/test_litellm/proxy/auth/test_login_utils.pyindex 0505c41707c..3baaa258879 100644--- a/tests/test_litellm/proxy/auth/test_login_utils.py+++ b/tests/test_litellm/proxy/auth/test_login_utils.py@@ -1004,7 +1004,7 @@ class TestPasswordResetRequiredSessionMinting:async def _login(self, mock_prisma_client) -> tuple[LoginResult, dict]:with patch.dict(os.environ, _DB_LOGIN_ENV):- with patch(+ with patch( # test-quality-ok: asserting the minted key's restriction requires seeing its kwargs"litellm.proxy.auth.login_utils.generate_key_helper_fn",new_callable=AsyncMock,return_value={"token": "session-token"},