From eebd1e6b1eb9a96a09e3507b2f1f96b89b9209c6 Mon Sep 17 00:00:00 2001 From: "Ivan Mladjenovic (He/Him)" Date: Thu, 12 Dec 2024 17:30:41 +0000 Subject: [PATCH] fake openai key --- backend/conftest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/conftest.py b/backend/conftest.py index 7fde0d08..64b912e1 100644 --- a/backend/conftest.py +++ b/backend/conftest.py @@ -13,6 +13,7 @@ def pytest_configure(config): # Set an environment variable to indicate pytest is running os.environ["PYTEST_RUNNING"] = "1" + os.environ["OPENAI_API_KEY"] = "fake_key" class MockOpenAI(AsyncOpenAI):