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]

test: remove dead tests

Krrish Dholakia0fef88d67c63
diff --git a/tests/llm_translation/test_anthropic_completion.py b/tests/llm_translation/test_anthropic_completion.py
index 3c1162cd016..b6a98e4b2c7 100644
--- a/tests/llm_translation/test_anthropic_completion.py
+++ b/tests/llm_translation/test_anthropic_completion.py
@@ -1350,6 +1350,9 @@ def test_anthropic_text_editor():
@pytest.mark.parametrize("spec", ["anthropic", "openai"])
+ os.getenv("ZAPIER_CI_CD_MCP_TOKEN") is None, reason="ZAPIER_CI_CD_MCP_TOKEN not set"
+)
def test_anthropic_mcp_server_tool_use(spec: str):
litellm._turn_on_debug()
@@ -1391,6 +1394,9 @@ def test_anthropic_mcp_server_tool_use(spec: str):
@pytest.mark.parametrize(
"model", ["openai/gpt-4.1", "anthropic/claude-sonnet-4-20250514"]
)
+ os.getenv("ZAPIER_CI_CD_MCP_TOKEN") is None, reason="ZAPIER_CI_CD_MCP_TOKEN not set"
+)
def test_anthropic_mcp_server_responses_api(model: str):
from litellm import responses
diff --git a/tests/logging_callback_tests/test_alerting.py b/tests/logging_callback_tests/test_alerting.py
index 2278b6ff938..86588bbd14b 100644
--- a/tests/logging_callback_tests/test_alerting.py
+++ b/tests/logging_callback_tests/test_alerting.py
@@ -788,40 +788,6 @@ async def test_region_outage_alerting_called(
mock_send_alert.assert_not_called()
[email protected](reason="test only needs to run locally ")
-async def test_alerting():
- router = litellm.Router(
- model_list=[
- {
- "model_name": "gpt-3.5-turbo",
- "litellm_params": {
- "model": "gpt-3.5-turbo",
- "api_key": "bad_key",
- },
- }
- ],
- debug_level="DEBUG",
- set_verbose=True,
- alerting_config=AlertingConfig(
- alerting_threshold=10, # threshold for slow / hanging llm responses (in seconds). Defaults to 300 seconds
- webhook_url=os.getenv(
- "SLACK_WEBHOOK_URL"
- ), # webhook you want to send alerts to
- ),
- )
- try:
- await router.acompletion(
- model="gpt-3.5-turbo",
- messages=[{"role": "user", "content": "Hey, how's it going?"}],
- )
-
- except Exception:
- pass
- finally:
- await asyncio.sleep(3)
-
-
@pytest.mark.asyncio
async def test_langfuse_trace_id():
"""