diff --git a/tests/llm/test_openai/conftest.py b/tests/llm/test_openai/conftest.py index 280da5011..583de7f43 100644 --- a/tests/llm/test_openai/conftest.py +++ b/tests/llm/test_openai/conftest.py @@ -13,7 +13,7 @@ def wrap_openai(x): return x -@pytest.fixture(scope="session") +@pytest.fixture(scope="function") def client(): if os.environ.get("BRAINTRUST_API_KEY"): yield wrap_openai(