Skip to content

Commit

Permalink
fix: updated scope of pytest fixture to be function based
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanleomk committed Oct 29, 2024
1 parent da537a6 commit f11b053
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/llm/test_openai/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit f11b053

Please sign in to comment.