Skip to content

Commit 7a0d165

Browse files
committed
Revert "Removed non workable test"
This reverts commit dd2fe54.
1 parent ca3fb8c commit 7a0d165

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

astroquery/vizier/tests/test_vizier.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,21 @@ def test_query_region(patch_post):
135135
assert isinstance(result, commons.TableList)
136136

137137

138+
def test_query_regions(patch_post):
139+
"""
140+
This ONLY tests that calling the function works -
141+
the data currently used for the test is *NOT* appropriate
142+
for the multi-object query. There is no test for parsing
143+
that return (yet - but see test_multicoord in remote_data)
144+
"""
145+
targets = commons.ICRSCoordGenerator(ra=[299.590, 299.90],
146+
dec=[35.201, 35.201],
147+
unit=(u.deg, u.deg))
148+
vizier.core.Vizier.query_region(targets,
149+
radius=5 * u.deg,
150+
catalog=["HIP", "NOMAD", "UCAC"])
151+
152+
138153
def test_query_object_async(patch_post):
139154
response = vizier.core.Vizier.query_object_async(
140155
"HD 226868", catalog=["NOMAD", "UCAC"])

0 commit comments

Comments
 (0)