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(test_proxy_server.py): make test work on ci/cd
Krrish Dholakia041d5391eb96
diff --git a/tests/litellm/proxy/test_proxy_server.py b/tests/litellm/proxy/test_proxy_server.pyindex 3f0a57e2841..77b521e8362 100644--- a/tests/litellm/proxy/test_proxy_server.py+++ b/tests/litellm/proxy/test_proxy_server.py@@ -20,10 +20,12 @@ import litellm@pytest.mark.asyncio-async def test_initialize_scheduled_jobs_credentials():+async def test_initialize_scheduled_jobs_credentials(monkeypatch):"""Test that get_credentials is only called when store_model_in_db is True"""+ monkeypatch.delenv("DISABLE_PRISMA_SCHEMA_UPDATE", raising=False)+ monkeypatch.delenv("STORE_MODEL_IN_DB", raising=False)from litellm.proxy.proxy_server import ProxyStartupEventfrom litellm.proxy.utils import ProxyLogging