Skip to content

Commit 8abb111

Browse files
committed
Corrected remote tests
1 parent eb69743 commit 8abb111

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed
Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Licensed under a 3-clause BSD style license - see LICENSE.rst
22
from __future__ import print_function
33

4-
from astropy.table import Table
4+
from astroquery.utils.commons import TableList
55
from astropy.tests.helper import remote_data
66

77
from ... import esasky
@@ -11,17 +11,16 @@ class TestESASky:
1111

1212
def test_esasky_query_region_maps(self):
1313
result = esasky.core.ESASkyClass().query_region_maps("M51", "5 arcmin")
14-
assert isinstance(result, Table)
14+
assert isinstance(result, TableList)
1515

1616
def test_esasky_query_object_maps(self):
1717
result = esasky.core.ESASkyClass().query_object_maps("M51")
18-
assert isinstance(result, Table)
18+
assert isinstance(result, TableList)
1919

2020
def test_esasky_query_region_catalogs(self):
2121
result = esasky.core.ESASkyClass().query_region_catalogs("M51", "5 arcmin")
22-
assert isinstance(result, Table)
22+
assert isinstance(result, TableList)
2323

2424
def test_esasky_query_object_catalogs(self):
2525
result = esasky.core.ESASkyClass().query_object_maps("M51")
26-
assert isinstance(result, Table)
27-
26+
assert isinstance(result, TableList)

0 commit comments

Comments
 (0)