Skip to content
Snippets Groups Projects
Commit 8fc43e9f authored by vertighel's avatar vertighel
Browse files

Updated tests

parent 1451fd70
Branches
No related tags found
No related merge requests found
Pipeline #28534 passed with warnings
......@@ -8,7 +8,7 @@ NAXIS2 = | [px] Length of data axis 2 (Y)
EXTEND = True | FITS file may contain extensions
BSCALE = 1 | Scale factor applied to data
BZERO = 32768 | Offset applied to data after scaling
OBSERVER = | Observer name
OBSERVER = UNKNOWN | Observer name
[Object]
OBJECT = | Name of observed object
......@@ -39,7 +39,7 @@ OBS-ELEV = | [m] Observatory altitude above sea level
FOCUSPOS = | [um] Focuser position
FOCUSTEM = | [C] Focuser temperature
DEROTANG = 0 | [deg] Rotator angle, if any
PIERSIDE = "UNKNOWN" | Side of the camera wrt pier, if any
PIERSIDE = UNKNOWN | Side of the camera wrt pier, if any
[Imaging]
INSTRUME = | Instrument name
......
......@@ -6,8 +6,8 @@ from astropy.io.fits import Header
class TestNoche(unittest.TestCase):
def setUp(self):
self.noche = Noche("noche/data/header_base.ini")
self.noche.load_observatory("noche/data/oarpaf.ini", flavor="OARPAF")
self.noche = Noche("noche/headers/header_base.ini")
self.noche.load_observatory("noche/observatories/oarpaf.ini")
def test_init_creates_header(self):
self.assertIsInstance(self.noche.header, Header)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment