Move new test to end
@@ -13,23 +13,9 @@ LOCAL_TABLE_PATH = os.path.join(os.path.abspath(os.path.dirname(__file__)),
'data', 'nasa_exoplanet_archive.csv')
-@remote_data
-def test_exoplanet_archive_table_all_columns():
- table = NasaExoplanetArchive.get_confirmed_planets_table(cache=False, all_columns=True)
-
- # Check some planets are in the table
- expected_planets = ['HD 189733 b', 'Kepler-186 f', 'TRAPPIST-1 b',
- 'HD 209458 b', 'Kepler-62 f', 'GJ 1214 b']
-
- for planet in expected_planets:
- assert planet.lower().replace(" ", "") in table['NAME_LOWERCASE']
-
- assert 'pl_trandep' in table.colnames
-
-
@remote_data
def test_exoplanet_archive_table():
- table = NasaExoplanetArchive.get_confirmed_planets_table()
+ table = NasaExoplanetArchive.get_confirmed_planets_table(cache=False)
# Check some planets are in the table
expected_planets = ['HD 189733 b', 'Kepler-186 f', 'TRAPPIST-1 b',
@@ -123,3 +109,17 @@ def test_hd209458b_exoplanet_archive_coords():
sep = params['sky_coord'].separation(simbad_coords)
assert abs(sep) < 5 * u.arcsec
+
+
+@remote_data
+def test_exoplanet_archive_table_all_columns():
+ table = NasaExoplanetArchive.get_confirmed_planets_table(cache=False, all_columns=True)
+
+ # Check some planets are in the table
+ expected_planets = ['HD 189733 b', 'Kepler-186 f', 'TRAPPIST-1 b',
+ 'HD 209458 b', 'Kepler-62 f', 'GJ 1214 b']
+
+ for planet in expected_planets:
+ assert planet.lower().replace(" ", "") in table['NAME_LOWERCASE']
+
+ assert 'pl_trandep' in table.colnames
