Skip to content

Commit 62ee271

Browse files
committed
Merge pull request #551 from bsipocz/eso_adding_new_instrument_to_list
Adding SPHERE to the instrument list
2 parents 82c7615 + 3a759b1 commit 62ee271

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

astroquery/eso/tests/test_eso_remote.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Licensed under a 3-clause BSD style license - see LICENSE.rst
2-
import os
32
import tempfile
43
import shutil
54
from astropy.tests.helper import pytest, remote_data
@@ -17,17 +16,19 @@
1716

1817
SKIP_TESTS = not(HAS_KEYRING and ESO_IMPORTED)
1918

20-
instrument_list = [u'fors1', u'fors2', u'vimos', u'omegacam', u'hawki',
21-
u'isaac', u'naco', u'visir', u'vircam', u'apex', u'uves',
22-
u'giraffe', u'xshooter', u'muse', u'crires', u'kmos',
23-
u'sinfoni', u'amber', u'midi', u'harps']
19+
instrument_list = [u'fors1', u'fors2', u'sphere', u'vimos', u'omegacam',
20+
u'hawki', u'isaac', u'naco', u'visir', u'vircam', u'apex',
21+
u'uves', u'giraffe', u'xshooter', u'muse', u'crires',
22+
u'kmos', u'sinfoni', u'amber', u'midi', u'harps']
23+
2424

2525
@pytest.mark.skipif('SKIP_TESTS')
2626
@remote_data
2727
class TestEso:
2828
@pytest.fixture()
2929
def temp_dir(self, request):
3030
my_temp_dir = tempfile.mkdtemp()
31+
3132
def fin():
3233
shutil.rmtree(my_temp_dir)
3334
request.addfinalizer(fin)
@@ -105,7 +106,7 @@ def test_list_instruments(self):
105106
# data_files = eso.retrieve_data([data_product_id])
106107
# # How do we know if we're going to get .fits or .fits.Z?
107108
# assert 'AMBER.2006-03-14T07:40:03.741.fits' in data_files[0]
108-
109+
109110
@pytest.mark.skipif('not Eso.USERNAME')
110111
def test_retrieve_data(self):
111112
eso = Eso()

0 commit comments

Comments
 (0)