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_litellm_proxy_server_config_no_general_settings
Ishaan Jaff0a401ee468de
diff --git a/tests/proxy_reliability_tests/test_using_litellm_db_outage.py b/tests/proxy_reliability_tests/test_using_litellm_db_outage.pyindex 52d3ec62220..ea9c7e3f3ab 100644--- a/tests/proxy_reliability_tests/test_using_litellm_db_outage.py+++ b/tests/proxy_reliability_tests/test_using_litellm_db_outage.py@@ -19,18 +19,20 @@ import timeimport pytestimport requests+TEST_MASTER_KEY = "sk-1234"+def test_litellm_proxy_server_config_no_general_settings():# Install the litellm[proxy] package# Start the servertry:subprocess.run(["pip", "install", "litellm[proxy]"])- subprocess.run(["pip", "install", "litellm[extra_proxy]"])filepath = os.path.dirname(os.path.abspath(__file__))config_fp = f"{filepath}/test_configs/test_config.yaml"# Set DATABASE_URL environment variableos.environ["DATABASE_URL"] = os.getenv("TOXI_PROXY_DATABASE_URL")+ os.environ["LITELLM_MASTER_KEY"] = TEST_MASTER_KEYserver_process = subprocess.Popen([@@ -72,6 +74,3 @@ def test_litellm_proxy_server_config_no_general_settings():# Shut down the serverserver_process.terminate()server_process.wait()-- # Additional assertions can be added here- assert True