Skip to content

Commit 237a3e0

Browse files
committed
PLATOWRQ-402: tests fixed
1 parent 15f27e3 commit 237a3e0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

astroquery/esa/plato/tests/test_plato_tap.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,8 @@ def test_search_pic_target_go_error_target_coordinates(self):
329329

330330
with pytest.raises(TypeError) as err:
331331
plato.search_pic_target_go(target_name="m31", coordinates="12 13")
332-
assert 'Please use only target or coordinates as parameter.' in err.value.args[0]
332+
assert ('Please use only target_name or coordinates as parameter, '
333+
'not both.') in err.value.args[0]
333334

334335
@patch('astroquery.esa.utils.utils.pyvo.dal.TAPService.capabilities', [])
335336
@patch('astroquery.esa.utils.utils.EsaTap.get_metadata')

0 commit comments

Comments
 (0)