Skip to content

Commit

Permalink
test: ignore existing NCBI_API_KEY env var
Browse files Browse the repository at this point in the history
  • Loading branch information
jsstevenson committed Sep 7, 2024
1 parent 453c1f1 commit acff720
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_seqfetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
fetch_seq,
)

@pytest.fixture(autouse=True)
def clear_env():
if "NCBI_API_KEY" in os.environ:
del os.environ["NCBI_API_KEY"]



@vcr.use_cassette
def test_fetch_seq():
Expand Down

0 comments on commit acff720

Please sign in to comment.