Skip to content

Commit 937390f

Browse files
committed
Adding list_columns test
1 parent 0861f1d commit 937390f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

astroquery/ipac/irsa/tests/test_irsa_remote.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,14 @@ def test_query_region_polygon(self):
6161
assert isinstance(result, Table)
6262
assert len(result) == 7
6363

64+
def test_list_columns(self):
65+
columns = Irsa.list_columns('slphotdr4')
66+
assert len(columns) == 203
67+
assert isinstance(columns, dict)
68+
69+
full_columns = Irsa.list_columns('slphotdr4', full=True)
70+
assert isinstance(full_columns, Table)
71+
6472
def test_list_catalogs(self):
6573
catalogs = Irsa.list_catalogs()
6674
# Number of available catalogs may change over time, test only for significant drop.

0 commit comments

Comments
 (0)