Skip to content

Commit

Permalink
Merge pull request #107 from winter-telescope/errortests
Browse files Browse the repository at this point in the history
track processor errors
  • Loading branch information
virajkaram authored Aug 30, 2022
2 parents 5a49870 + 4736a29 commit b93f187
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/test_summer_imsub_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ def setUp(self):
def test_pipeline(self):
self.logger.info("\n\n Testing summer pipeline \n\n")

res, errorstack = pipeline.reduce_images([[[], []]])
self.assertEqual(len(errorstack.reports), 0)
res, errorstack = pipeline.reduce_images([[[], []]], catch_all_errors=False)

self.assertEqual(len(res[0][0]), 1)

header = res[0][1][0]
Expand Down
4 changes: 2 additions & 2 deletions tests/test_summer_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ def setUp(self):
def test_pipeline(self):
self.logger.info("\n\n Testing summer pipeline \n\n")

res, errorstack = pipeline.reduce_images([[[], []]])
self.assertEqual(len(errorstack.reports), 0)
res, errorstack = pipeline.reduce_images([[[], []]], catch_all_errors=False)

self.assertEqual(len(res[0][0]), 1)

header = res[0][1][0]
Expand Down

0 comments on commit b93f187

Please sign in to comment.