Skip to content

Commit 2bdb5e7

Browse files
committed
un-xfail a test that should pass and add a new minimalist test
1 parent c93dd24 commit 2bdb5e7

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

astroquery/alma/tests/test_alma_remote.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,17 @@ def test_data_proprietary(self, alma):
149149
with pytest.raises(AttributeError):
150150
alma.is_proprietary('uid://NON/EXI/STING')
151151

152-
@pytest.mark.xfail(reason="Depends on PR 2438 (https://github.com/astropy/astroquery/pull/2438)")
152+
def test_retrieve_data(self, temp_dir, alma):
153+
"""
154+
Regression test for issue 2490 (the retrieval step will simply fail if
155+
given a blank line, so all we're doing is testing that it runs)
156+
"""
157+
alma.cache_location = temp_dir
158+
159+
uid = 'uid://A001/X12a3/Xe9'
160+
161+
alma.retrieve_data_from_uid([uid])
162+
153163
def test_data_info(self, temp_dir, alma):
154164
alma.cache_location = temp_dir
155165

0 commit comments

Comments
 (0)