Skip to content

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]

fix test

Ishaan Jaff81948d4198b1
diff --git a/tests/test_litellm/proxy/management_endpoints/test_callback_management_endpoints.py b/tests/test_litellm/proxy/management_endpoints/test_callback_management_endpoints.py
index 140dc644973..771534b2aad 100644
--- a/tests/test_litellm/proxy/management_endpoints/test_callback_management_endpoints.py
+++ b/tests/test_litellm/proxy/management_endpoints/test_callback_management_endpoints.py
@@ -19,25 +19,7 @@ import litellm
from litellm.integrations.datadog.datadog import DataDogLogger
from litellm.integrations.langfuse.langfuse import LangFuseLogger
from litellm.proxy.management_endpoints.callback_management_endpoints import router
-from litellm.proxy.proxy_server import (
- _description,
- _get_docs_url,
- _get_redoc_url,
- _title,
- proxy_startup_event,
- server_root_path,
- version,
-)
-
-app = FastAPI(
- docs_url=_get_docs_url(),
- redoc_url=_get_redoc_url(),
- title=_title,
- description=_description,
- version=version,
- root_path=server_root_path, # check if user passed root path, FastAPI defaults this value to ""
- lifespan=proxy_startup_event,
-)
+from litellm.proxy.proxy_server import app
@pytest.fixture(autouse=True, scope="session")