Skip to content

Commit

Permalink
modern tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Ridden authored and Ryan Ridden committed Mar 15, 2024
1 parent 3a5ba9f commit 8fa8c96
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions tests/test_tessreduce_main.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ def setUpClass(cls):
""" Initial setup run only once before all the tests
"""

ra = 189.1385817
dec = 11.2316535
tess = tr.tessreduce(ra=ra, dec=dec)
ra = 10.127#189.1385817
dec = -50.687#11.2316535
sector = 2
tess = tr.tessreduce(ra=ra, dec=dec, sector=sector, reduce=False)
tess.get_ref()
cls.tess = tess

Expand All @@ -20,8 +21,8 @@ def test_Make_mask(self):
def test_background(self):
self.tess.background()

def test_Centroids_DAO(self):
self.tess.centroids_DAO()
def test_align(self):
self.tess.fit_shift()

def test_Shift_images(self):
self.tess.shift_images()
Expand All @@ -32,5 +33,8 @@ def test_field_calibrate(self):
def test_Diff_lc(self):
self.tess.diff_lc()

def test_full(self):
tess.reduce()

if __name__ == '__main__':
unittest.main()

0 comments on commit 8fa8c96

Please sign in to comment.