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(tests): restore autouse=True to setup_and_teardown fixture

Julio Quinteros Pro53d9cad8f5bb
diff --git a/tests/test_litellm/conftest.py b/tests/test_litellm/conftest.py
index 778e53e9ad1..13d073cf1be 100644
--- a/tests/test_litellm/conftest.py
+++ b/tests/test_litellm/conftest.py
@@ -80,6 +80,7 @@ def isolate_litellm_state():
@pytest.fixture(scope="module")
[email protected](scope="module", autouse=True)
def setup_and_teardown():
"""
Module-scoped setup/teardown for heavy initialization.
diff --git a/tests/test_litellm/conftest_improved.py b/tests/test_litellm/conftest_improved.py
index 778e53e9ad1..6c3692a46b3 100644
--- a/tests/test_litellm/conftest_improved.py
+++ b/tests/test_litellm/conftest_improved.py
@@ -79,7 +79,7 @@ def isolate_litellm_state():
litellm.callbacks = original_callbacks
[email protected](scope="module")
[email protected](scope="module", autouse=True)
def setup_and_teardown():
"""
Module-scoped setup/teardown for heavy initialization.