Skip to content

Commit 84b11f4

Browse files
committed
Fix the failing tests getting spectra from ESA Sky
This will fix the test test_esasky_get_spectra for mission HST-UV and HST-OPTICAL. I can't find anything on our end that explains why these tests started failing. We have a rather small default radius (5 arc seconds) where we look for spectra. Maybe the underlying data changed, or the M1 supernova moved slightly in the CDS name resolver?
1 parent e8fff0b commit 84b11f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

astroquery/esasky/tests/test_esasky_remote.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def test_esasky_get_spectra(self, tmp_path, mission):
183183
# - HST-IR, JWST-MID-IR and CHEOPS have no data
184184
# - LAMOST does not support download
185185
# - JWST-NEAR-IR returns a zip file with many fits files in it, unsupported
186-
result = ESASky.get_spectra(position="M1", missions=mission, download_dir=tmp_path)
186+
result = ESASky.get_spectra(position="M1", missions=mission, radius='15 arcsec', download_dir=tmp_path)
187187
assert Path(tmp_path, mission.upper()).exists()
188188

189189
if mission != "Herschel":

0 commit comments

Comments
 (0)