Skip to content

Commit

Permalink
fake openai key
Browse files Browse the repository at this point in the history
  • Loading branch information
IMladjenovic committed Dec 12, 2024
1 parent 382add9 commit eebd1e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit eebd1e6

Please sign in to comment.