From af8030d6abd6d1a679c0d0f6f206d6bd755f010a Mon Sep 17 00:00:00 2001 From: Ian Carroll Date: Mon, 30 Sep 2024 15:10:51 -0400 Subject: [PATCH] auth in test --- tests/unit/test_store.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/unit/test_store.py b/tests/unit/test_store.py index aa644dcb..e60576a5 100644 --- a/tests/unit/test_store.py +++ b/tests/unit/test_store.py @@ -137,6 +137,7 @@ def _get_vcr(self, **kwargs): return myvcr def test_round_trip_granules_pickle(self): + earthaccess.login(strategy="netrc") granules = earthaccess.search_data( short_name="VIIRSJ1_L3m_CHL", granule_name="*.9km.*", @@ -147,6 +148,7 @@ def test_round_trip_granules_pickle(self): assert open_files == pickle.loads(serialized) def test_round_trip_urls_pickle(self): + earthaccess.login(strategy="netrc") granules = earthaccess.search_data( short_name="VIIRSJ1_L3m_CHL", granule_name="*.9km.*",