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]

Update tests/test_litellm/integrations/datadog/test_datadog_metrics.py

Harshit Jain8dc8e826ba6d
diff --git a/tests/test_litellm/integrations/datadog/test_datadog_metrics.py b/tests/test_litellm/integrations/datadog/test_datadog_metrics.py
index c851f5fdead..d5b6cce972e 100644
--- a/tests/test_litellm/integrations/datadog/test_datadog_metrics.py
+++ b/tests/test_litellm/integrations/datadog/test_datadog_metrics.py
@@ -35,8 +35,7 @@ def clean_env():
@pytest.mark.asyncio
async def test_init(clean_env):
"""Test initialization sets up clients and url correctly."""
-async def test_init(clean_env):
- """Test initialization sets up clients and url correctly."""
+ logger = DatadogMetricsLogger(start_periodic_flush=False)
logger = DatadogMetricsLogger(start_periodic_flush=False)
assert logger.upload_url == "https://api.test.datadoghq.com/api/v2/series"