Skip to content

Commit

Permalink
Update comment about assertion code
Browse files Browse the repository at this point in the history
Co-authored-by: Jessica Scheick <[email protected]>
  • Loading branch information
weiji14 and JessicaS11 authored Sep 2, 2024
1 parent 65328a6 commit 6434fae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion icepyx/tests/test_behind_NSIDC_API_login.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def test_download_granules_without_subsetting(reg, session, capsys):
assert int(reg.granules.orderIDs[0]) >= 5_000_000_000_000

Check warning on line 82 in icepyx/tests/test_behind_NSIDC_API_login.py

View check run for this annotation

Codecov / codecov/patch

icepyx/tests/test_behind_NSIDC_API_login.py#L81-L82

Added lines #L81 - L82 were not covered by tests

reg.download_granules(path=path)

Check warning on line 84 in icepyx/tests/test_behind_NSIDC_API_login.py

View check run for this annotation

Codecov / codecov/patch

icepyx/tests/test_behind_NSIDC_API_login.py#L84

Added line #L84 was not covered by tests
# check that the max extent of the downloaded granules isn't subsetted
# check that there are the right number of files of the correct size
assert len(glob.glob(pathname=f"{path}/ATL06_201902*.iso.xml")) == 3
h5_paths = sorted(glob.glob(pathname=f"{path}/ATL06_201902*.h5"))
assert len(h5_paths) == 3

Check warning on line 88 in icepyx/tests/test_behind_NSIDC_API_login.py

View check run for this annotation

Codecov / codecov/patch

icepyx/tests/test_behind_NSIDC_API_login.py#L86-L88

Added lines #L86 - L88 were not covered by tests
Expand Down

0 comments on commit 6434fae

Please sign in to comment.