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
fix mocked CZ tests
Ishaan Jaffb1552cae460d
diff --git a/tests/test_litellm/integrations/cloudzero/test_dry_run_endpoint.py b/tests/test_litellm/integrations/cloudzero/test_dry_run_endpoint.pyindex f2fd68a6a9c..5ba6457f376 100644--- a/tests/test_litellm/integrations/cloudzero/test_dry_run_endpoint.py+++ b/tests/test_litellm/integrations/cloudzero/test_dry_run_endpoint.py@@ -54,8 +54,8 @@ class TestCloudZeroDryRunEndpoint:'resource/tag:api_key_alias': ['key1', 'key2']})- with patch('litellm.integrations.cloudzero.cloudzero.LiteLLMDatabase') as mock_db_class, \- patch('litellm.integrations.cloudzero.cloudzero.CBFTransformer') as mock_transformer_class:+ with patch('litellm.integrations.cloudzero.database.LiteLLMDatabase') as mock_db_class, \+ patch('litellm.integrations.cloudzero.transform.CBFTransformer') as mock_transformer_class:# Setup mocksmock_db = AsyncMock()@@ -105,7 +105,7 @@ class TestCloudZeroDryRunEndpoint:# Mock empty database datamock_empty_data = pl.DataFrame()- with patch('litellm.integrations.cloudzero.cloudzero.LiteLLMDatabase') as mock_db_class:+ with patch('litellm.integrations.cloudzero.database.LiteLLMDatabase') as mock_db_class:# Setup mocksmock_db = AsyncMock()