Skip to content

Commit 75cc838

Browse files
author
Alvaro Arroyo Parejo
committed
change marker for astropy testing, change path for remote tests
1 parent 0701ac6 commit 75cc838

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

astroquery/esa/neocc/test/test_neocc_remote.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
TIMEOUT = conf.TIMEOUT
3737
VERIFICATION = conf.SSL_CERT_VERIFICATION
3838

39-
@astropy.tests.helper.remote_data
39+
@pytest.mark.remote_data
4040
class TestLists:
4141
"""Class which contains the unitary tests for lists module.
4242
"""
@@ -431,11 +431,11 @@ def test_parse_neo_catalogue(self):
431431
# Int
432432
assert ptypes.is_int64_dtype(new_list['non-grav param.'])
433433

434-
@astropy.tests.helper.remote_data
434+
@pytest.mark.remote_data
435435
class TestTabs:
436436
"""Class which contains the unitary tests for tabs module.
437437
"""
438-
path_nea = 'test/data/allneo.lst'
438+
path_nea = os.path.join(DATA_DIR, 'allneo.lst')
439439
nea_list = pd.read_csv(path_nea, header=None)
440440
nea_list = nea_list[0].str.strip().replace(r'\s+', ' ',
441441
regex=True)\

0 commit comments

Comments
 (0)