diff --git a/astroquery/alfalfa/tests/test_alfalfa.py b/astroquery/alfalfa/tests/test_alfalfa.py index e5899d7699..4e09da8a8c 100644 --- a/astroquery/alfalfa/tests/test_alfalfa.py +++ b/astroquery/alfalfa/tests/test_alfalfa.py @@ -63,6 +63,7 @@ def data_path(filename): # Test Case: A Seyfert 1 galaxy coords = coordinates.SkyCoord('0h8m05.63s +14d50m23.3s') +coordsOC = coordinates.SkyCoord(0.59583, 27.21056, unit='deg') ALFALFA = alfalfa.core.Alfalfa() @@ -75,3 +76,7 @@ def test_alfalfa_catalog(patch_get, patch_get_readable_fileobj, coords=coords): def test_alfalfa_crossID(patch_get, patch_get_readable_fileobj, coords=coords): agc = ALFALFA.query_region(coords, optical_counterpart=True) assert agc == 100051 + agc = ALFALFA.query_region(coordsOC, optical_counterpart=False) + assert agc == 12920 + agc = ALFALFA.query_region(coordsOC, optical_counterpart=False, radius='0 arcmin') + assert agc is None