Skip to content

Commit

Permalink
Add obstime test to workunit.
Browse files Browse the repository at this point in the history
  • Loading branch information
DinoBektesevic committed Oct 31, 2023
1 parent ff716a2 commit 26e7fd1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_work_unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ def test_save_and_load_fits(self):
li = work2.im_stack.get_single_image(i)
self.assertEqual(li.get_width(), self.width)
self.assertEqual(li.get_height(), self.height)
self.assertEqual(li.get_obstime(), 2*i+1)

# Check the three image layers match.
sci1 = li.get_science()
Expand Down

0 comments on commit 26e7fd1

Please sign in to comment.