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): give the faked login user the breach-check columns
ryan2074273faf21
diff --git a/tests/test_litellm/proxy/proxy_server/test_routes_login_sso.py b/tests/test_litellm/proxy/proxy_server/test_routes_login_sso.pyindex 88f8be4e49a..8daea8d0ad2 100644--- a/tests/test_litellm/proxy/proxy_server/test_routes_login_sso.py+++ b/tests/test_litellm/proxy/proxy_server/test_routes_login_sso.py@@ -10,6 +10,7 @@ Routes covered:from __future__ import annotations+from datetime import datetime, timezonefrom unittest.mock import AsyncMock, MagicMockfrom .conftest import normalize@@ -510,6 +511,8 @@ def _db_user(monkeypatch, email: str):user.user_email = emailuser.user_role = "internal_user"user.password = "scrypt:stored"+ user.password_reset_required = None+ user.last_breach_check_at = datetime.now(timezone.utc)repo = MagicMock()repo.return_value.table.find_first = AsyncMock(return_value=user)monkeypatch.setattr(ps, "prisma_client", MagicMock())