diff --git a/tests/test_seqfetcher.py b/tests/test_seqfetcher.py index 27cdfbc..68efc9c 100644 --- a/tests/test_seqfetcher.py +++ b/tests/test_seqfetcher.py @@ -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():