Skip to content

Fix tests#20

Open
brylie wants to merge 1 commit intomainfrom
fix-tests
Open

Fix tests#20
brylie wants to merge 1 commit intomainfrom
fix-tests

Conversation

@brylie
Copy link
Copy Markdown
Owner

@brylie brylie commented Jul 6, 2024

Related to #19

Add a fixture to set the OPENAI_API_KEY environment variable in tests.

  • Add a fixture in tests/test_main.py to set the OPENAI_API_KEY environment variable using monkeypatch.
  • Update the existing tests in tests/test_main.py to use the new fixture.

For more details, open the Copilot Workspace session.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant