Skip to content

Commit

Permalink
bugfix to unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
emolter committed Jun 12, 2024
1 parent 25ab568 commit ff7ed8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jwst/badpix_selfcal/tests/test_badpix_selfcal.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,12 +249,12 @@ def test_badpix_selfcal_step(request, dset):
assert result[0].meta.cal_step.badpix_selfcal == "COMPLETE"
if dset == "sci":
assert len(result) == 2
assert len(result[0]) == 1
assert isinstance(result[0], dm.IFUImageModel)
assert len(result[1]) == 0
else:
# should return sci, (bkg0, bkg1) but not selfcal0, selfcal1
assert len(result) == 2
assert len(result[0]) == 1
assert isinstance(result[0], dm.IFUImageModel)
assert len(result[1]) == 2


Expand Down

0 comments on commit ff7ed8e

Please sign in to comment.