Skip to content

Commit c62063d

Browse files
committed
- Corrected test for empty result response
1 parent a2795e8 commit c62063d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

astroquery/mpc/tests/test_mpc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,12 +189,12 @@ def test_get_ephemeris_Moon_phase_and_Uncertainty(patch_post):
189189
assert result['Uncertainty 3sig'].quantity[0] > 0 * u.arcsec
190190

191191

192-
def test_get_ephemeris_by_name_fail(patch_post):
192+
def test_get_ephemeris_by_name_empty(patch_post):
193193
with pytest.raises(NoResultsWarning):
194194
mpc.core.MPC.get_ephemeris('340P', location='G37')
195195

196196

197-
def test_get_ephemeris_by_name_empty(patch_post):
197+
def test_get_ephemeris_by_name_fail(patch_post):
198198
with pytest.raises(InvalidQueryError):
199199
mpc.core.MPC.get_ephemeris('test fail')
200200

0 commit comments

Comments
 (0)