Skip to content

Commit

Permalink
fix: updated scope of pytest fixture to be function based (#1131)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanleomk authored Oct 29, 2024
1 parent da537a6 commit a54ea2d
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 a54ea2d

Please sign in to comment.