Skip to content

Fix: load .env in integration test conftest#8

Open
JoeCardoso13 wants to merge 1 commit intomainfrom
fix/dotenv-integration-tests
Open

Fix: load .env in integration test conftest#8
JoeCardoso13 wants to merge 1 commit intomainfrom
fix/dotenv-integration-tests

Conversation

@JoeCardoso13
Copy link
Contributor

Summary

  • Add python-dotenv to dev dependencies in pyproject.toml
  • Call load_dotenv() in tests-integration/conftest.py before the env var gate

Closes #7

Add python-dotenv to dev dependencies and call load_dotenv() in
tests-integration/conftest.py so .env files are picked up automatically
before the API key gate runs.
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.

Add python-dotenv to scaffolded conftest.py for integration tests

1 participant