Skip to content

Commit df37f0f

Browse files
committed
Cleanup and fix setup_package files
1 parent c9fdba9 commit df37f0f

File tree

7 files changed

+8
-9
lines changed

7 files changed

+8
-9
lines changed

astroquery/cds/tests/setup_package.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33

44
def get_package_data():
5-
paths_test = [os.path.join('data', '*.json')]
5+
paths_test = [os.path.join('data', '*.json'),
6+
os.path.join('data', '*.fits')]
67

78
return {'astroquery.cds.tests': paths_test}

astroquery/esa/hubble/tests/setup_package.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@
77
# setup paths to the test data
88
# can specify a single file or a list of files
99
def get_package_data():
10-
paths = [os.path.join('data', '*.tar'),
11-
os.path.join('data', '*.xml'),
12-
os.path.join('data', '*.vot'),
13-
os.path.join('data', '*.FITS'),
10+
paths = [os.path.join('data', '*.vot'),
1411
os.path.join('data', '*.test'),
1512
] # etc, add other extensions
1613
# you can also enlist files individually by names

astroquery/gaia/tests/setup_package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# can specify a single file or a list of files
99
def get_package_data():
1010
paths = [os.path.join('data', '*.vot'),
11-
os.path.join('data', '*.xml'),
11+
os.path.join('data', '*.vot.gz'),
1212
] # etc, add other extensions
1313
# you can also enlist files individually by names
1414
# finally construct and return a dict for the sub module

astroquery/ipac/irsa/irsa_dust/tests/setup_package.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,5 @@ def get_package_data():
88
paths = [os.path.join('data', '*.xml'),
99
os.path.join('data', '*.fits'),
1010
os.path.join('data', '*.tbl'),
11-
os.path.join('data', '*.txt'),
1211
]
1312
return {'astroquery.ipac.irsa.irsa_dust.tests': paths}

astroquery/jplhorizons/tests/setup_package.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66

77
def get_package_data():
8-
paths = [os.path.join('data', '*.txt')] # etc, add other extensions
8+
paths = [os.path.join('data', '*.txt'),
9+
os.path.join('data', 'README')] # etc, add other extensions
910

1011
return {'astroquery.jplhorizons.tests': paths}

astroquery/mpc/setup_package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44

55
def get_package_data():
6-
paths_test = [os.path.join('data', 'comet_object_C20112S1.json'),
6+
paths_test = [os.path.join('data', 'comet_object_C2012S1.json'),
77
os.path.join('data', '*.html'),
88
os.path.join('data', 'mpc_obs.dat')]
99

astroquery/utils/tap/tests/setup_package.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
def get_package_data():
2525
paths = [os.path.join('data', '*.vot'),
2626
os.path.join('data', '*.xml'),
27+
os.path.join('data', '*.fits.gz'),
2728
] # etc, add other extensions
2829
# you can also enlist files individually by names
2930
# finally construct and return a dict for the sub module

0 commit comments

Comments
 (0)