From 234f9af998a0829f9356ffe5565e190e0e9dbcd3 Mon Sep 17 00:00:00 2001 From: James Bourbeau Date: Tue, 17 Oct 2023 10:24:18 -0500 Subject: [PATCH] Update comment Co-authored-by: Matt Fisher --- tests/integration/test_api.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/integration/test_api.py b/tests/integration/test_api.py index b6bce6b4..bde37b05 100644 --- a/tests/integration/test_api.py +++ b/tests/integration/test_api.py @@ -91,8 +91,9 @@ def test_auth_environ(): def test_auth_environ_raises(monkeypatch): - # Temporarily ensure `earthaccess.__auth__` always returns a - # new, unauthenticated `earthaccess.Auth`` instance + # Ensure `earthaccess.__auth__` always returns a new, + # unauthenticated `earthaccess.Auth` instance, bypassing + # automatic auth behavior monkeypatch.setattr(earthaccess, "__auth__", earthaccess.Auth()) # Ensure `earthaccess.auth_environ()` raises an informative error