Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GOES tests for new files #7226

Merged
merged 4 commits into from
Oct 10, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions sunpy/net/dataretriever/sources/tests/test_goes_ud.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
'https://umbra.nascom.nasa.gov/goes/fits/1995/go07950605.fits'),
(Time('2008/06/02 12:00', '2008/06/04'),
'https://www.ncei.noaa.gov/data/goes-space-environment-monitor/access/science/xrs/goes10/gxrs-l2-irrad_science/2008/06/sci_gxrs-l2-irrad_g10_d20080602_v0-0-0.nc',
'https://www.ncei.noaa.gov/data/goes-space-environment-monitor/access/science/xrs/goes10/gxrs-l2-irrad_science/2008/06/sci_gxrs-l2-irrad_g10_d20080604_v0-0-0.nc'),
'https://www.ncei.noaa.gov/data/goes-space-environment-monitor/access/science/xrs/goes10/xrsf-l2-avg1m_science/2008/06/sci_xrsf-l2-avg1m_g10_d20080604_v1-0-0.nc'),
(Time('2020/08/02', '2020/08/04'),
'https://data.ngdc.noaa.gov/platforms/solar-space-observing-satellites/goes/'
'goes16/l2/data/xrsf-l2-flx1s_science/2020/08/sci_xrsf-l2-flx1s_g16_d20200802_v2-2-0.nc',
Expand Down Expand Up @@ -62,7 +62,7 @@
def test_get_overlap_providers(LCClient, timerange, url_start, url_end):
qresponse = LCClient.search(timerange)
urls = [i['url'] for i in qresponse]
assert len(urls) == 8
assert len(urls) == 12

Check warning on line 65 in sunpy/net/dataretriever/sources/tests/test_goes_ud.py

View check run for this annotation

Codecov / codecov/patch

sunpy/net/dataretriever/sources/tests/test_goes_ud.py#L65

Added line #L65 was not covered by tests
assert urls[0] == url_start
assert urls[-1] == url_end

Expand Down