File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
tests/test_litellm/integrations/datadog Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1060,7 +1060,7 @@ def create_standard_logging_payload_with_spend_metrics() -> StandardLoggingPaylo
1060
1060
1061
1061
1062
1062
@pytest .mark .asyncio
1063
- async def test_datadog_llm_obs_spend_metrics ():
1063
+ async def test_datadog_llm_obs_spend_metrics (mock_env_vars ):
1064
1064
"""Test that budget metrics are properly extracted and logged"""
1065
1065
datadog_llm_obs_logger = DataDogLLMObsLogger ()
1066
1066
@@ -1086,7 +1086,7 @@ async def test_datadog_llm_obs_spend_metrics():
1086
1086
1087
1087
1088
1088
@pytest .mark .asyncio
1089
- async def test_datadog_llm_obs_spend_metrics_no_budget ():
1089
+ async def test_datadog_llm_obs_spend_metrics_no_budget (mock_env_vars ):
1090
1090
"""Test that spend metrics work when no budget is set"""
1091
1091
datadog_llm_obs_logger = DataDogLLMObsLogger ()
1092
1092
@@ -1108,7 +1108,7 @@ async def test_datadog_llm_obs_spend_metrics_no_budget():
1108
1108
1109
1109
1110
1110
@pytest .mark .asyncio
1111
- async def test_spend_metrics_in_datadog_payload ():
1111
+ async def test_spend_metrics_in_datadog_payload (mock_env_vars ):
1112
1112
"""Test that spend metrics are correctly included in DataDog LLM Observability payloads"""
1113
1113
datadog_llm_obs_logger = DataDogLLMObsLogger ()
1114
1114
You can’t perform that action at this time.
0 commit comments