Skip to content

Commit ee6d53b

Browse files
committed
fix tests
1 parent eed6d89 commit ee6d53b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

astroquery/alma/tests/test_alma.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ def test_tap():
381381
def test_get_data_info():
382382
datalink_mock = Mock()
383383
dl_result = Table.read(data_path('alma-datalink.xml'), format='votable')
384-
mock_response = Mock(table=dl_result)
384+
mock_response = Mock(to_table=Mock(return_value=dl_result))
385385
mock_response.status = ['OK']
386386
datalink_mock.run_sync.return_value = mock_response
387387
alma = Alma()

0 commit comments

Comments
 (0)