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
Update tests/test_litellm/integrations/datadog/test_datadog_metrics.py
Harshit Jain9e4cf0e4df17
diff --git a/tests/test_litellm/integrations/datadog/test_datadog_metrics.py b/tests/test_litellm/integrations/datadog/test_datadog_metrics.pyindex 1008a4f78cf..c851f5fdead 100644--- a/tests/test_litellm/integrations/datadog/test_datadog_metrics.py+++ b/tests/test_litellm/integrations/datadog/test_datadog_metrics.py@@ -35,9 +35,9 @@ def clean_env():@pytest.mark.asyncioasync def test_init(clean_env):"""Test initialization sets up clients and url correctly."""- logger = DatadogMetricsLogger()- assert logger.dd_api_key == "test_api_key"- assert logger.dd_site == "test.datadoghq.com"+async def test_init(clean_env):+ """Test initialization sets up clients and url correctly."""+ logger = DatadogMetricsLogger(start_periodic_flush=False)assert logger.upload_url == "https://api.test.datadoghq.com/api/v2/series"