diff --git a/tests/test_seqfetcher.py b/tests/test_seqfetcher.py index 68efc9c..4685408 100644 --- a/tests/test_seqfetcher.py +++ b/tests/test_seqfetcher.py @@ -13,6 +13,10 @@ @pytest.fixture(autouse=True) def clear_env(): + """Some tests in this module assume that the default utils access configs are + active. If you execute tests in an environment with an existing `NCBI_API_KEY` env + var, those tests will fail unless we first remove that variable. + """ if "NCBI_API_KEY" in os.environ: del os.environ["NCBI_API_KEY"]