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

test: ignore existing NCBI_API_KEY env var #70

Merged
merged 4 commits into from
Sep 11, 2024

Conversation

jsstevenson
Copy link
Contributor

@jsstevenson jsstevenson commented Sep 7, 2024

Noticed while checking a recent PR that seqfetcher tests weren't passing for me locally. The issue was that I had a preset NCBI_API_KEY env var, and part of the test assumed use of the default authentication configs. This PR adds an autouse fixture to that test module to blank out the NCBI_API_KEY env var before tests run.

@jsstevenson jsstevenson requested a review from a team as a code owner September 7, 2024 19:18
@jsstevenson jsstevenson merged commit 9f9fec1 into main Sep 11, 2024
9 checks passed
@jsstevenson jsstevenson deleted the seqfetcher-test-blank-env branch September 11, 2024 16:17
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.

2 participants