We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6547d69 commit b197e5aCopy full SHA for b197e5a
astroquery/vizier/tests/test_vizier_remote.py
@@ -125,3 +125,13 @@ def test_findcatalog_maxcatalog(self):
125
# assert str(exc.value)==("Maximum number of catalogs exceeded."
126
# " Try setting max_catalogs "
127
# "to a large number and try again")
128
+
129
+ def test_findcatalog_ucd(self):
130
+ V = vizier.core.Vizier()
131
+ ucdresult = V(ucd='time.age*').find_catalogs('eclipsing binary', max_catalogs=5000)
132
+ result = V.find_catalogs('eclipsing binary', max_catalogs=5000)
133
134
+ assert len(ucdresult) >= 12 # count as of 1/15/2018
135
+ assert len(result) >= 628
136
+ # important part: we're testing that UCD is parsed and some catalogs are ruled out
137
+ assert len(ucdresult) < len(result)
0 commit comments