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]

fix azure batches test - don't have more quota

Ishaan Jaffe0ac27c00c2a
diff --git a/litellm/tests/test_openai_batches_and_files.py b/litellm/tests/test_openai_batches_and_files.py
index 7f79da8e2bf..5ac5e4b10ad 100644
--- a/litellm/tests/test_openai_batches_and_files.py
+++ b/litellm/tests/test_openai_batches_and_files.py
@@ -29,6 +29,9 @@ def test_create_batch(provider):
2. Create Batch Request
3. Retrieve the specific batch
"""
+ if provider == "azure":
+ # Don't have anymore Azure Quota
+ return
file_name = "openai_batch_completions.jsonl"
_current_dir = os.path.dirname(os.path.abspath(__file__))
file_path = os.path.join(_current_dir, file_name)
@@ -103,6 +106,9 @@ async def test_async_create_batch(provider):
3. Retrieve the specific batch
"""
print("Testing async create batch")
+ if provider == "azure":
+ # Don't have anymore Azure Quota
+ return
file_name = "openai_batch_completions.jsonl"
_current_dir = os.path.dirname(os.path.abspath(__file__))