Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Look into pytest env variables #111

Open
OliviaLynn opened this issue May 3, 2024 · 1 comment
Open

Look into pytest env variables #111

OliviaLynn opened this issue May 3, 2024 · 1 comment
Assignees

Comments

@OliviaLynn
Copy link
Collaborator

We've been having trouble where environmental variables that are theoretically set in conf.py don't fully work in tests, which is remedied by explicitly setting them within the test. Not great that we have to do this.

Also, we may not want them to be so conditionally set in tests (with the ifs), this is worth taking a big picture look at as well.

@OliviaLynn
Copy link
Collaborator Author

Drew added a nice set_env_vars fixture, so I'll go through the unit tests to implement this throughout for consistency

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

No branches or pull requests

1 participant