Remove redundant code in test
@@ -110,11 +110,6 @@ class TestESASky:
@pytest.mark.bigdata
def test_esasky_get_images(self, tmp_path):
- missions = ESASky.list_maps()
- # Remove very large map missions & missions with many results and
- # missions without proper download url (INTEGRAL, SUZAKU, ALMA, AKARI)
- missions = [mission for mission in missions if mission not in
- ("HST-OPTICAL", "HST-IR", "HST-UV", "XMM-OM-UV", "INTEGRAL", "SUZAKU", "ALMA", "AKARI")]
missions = ['XMM', 'Chandra', 'XMM-OM-OPTICAL', 'ISO-IR', 'Herschel', 'JWST_Mid-IR', 'JWST_Near-IR', 'Spitzer']
ESASky.get_images(position="M51", missions=missions, download_dir=tmp_path)
