Skip to content

Commit

Permalink
auth in test
Browse files Browse the repository at this point in the history
  • Loading branch information
itcarroll committed Sep 30, 2024
1 parent 4cb372e commit af8030d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/unit/test_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.*",
Expand All @@ -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.*",
Expand Down

0 comments on commit af8030d

Please sign in to comment.