diff --git a/tests/test_tessreduce_main.py b/tests/test_tessreduce_main.py old mode 100644 new mode 100755 index 6d63b39..904672d --- a/tests/test_tessreduce_main.py +++ b/tests/test_tessreduce_main.py @@ -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 @@ -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() @@ -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()