Skip to content

Commit 17b3ef8

Browse files
committed
OPENAI_API_KEY in tests
1 parent 63ba07a commit 17b3ef8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
@pytest.fixture(autouse=True)
66
def patch_env(monkeypatch):
7-
if not os.environ.get("ANTHROPIC_API_KEY"):
8-
monkeypatch.setenv("ANTHROPIC_API_KEY", "mock-key")
7+
if not os.environ.get("OPENAI_API_KEY"):
8+
monkeypatch.setenv("OPENAI_API_KEY", "mock-key")
99

1010

1111
@pytest.fixture(scope="module")

0 commit comments

Comments
 (0)