Skip to content

Commit

Permalink
add missing rtdata.output assignments to repointed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram committed Oct 11, 2024
1 parent 1945dad commit e2c4765
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions romancal/regtest/test_wfi_grism_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ def test_repointed_matches_truth(
repointed_filename, _ = repointed_filename_and_delta

rtdata.get_truth(f"truth/WFI/grism/{Path(repointed_filename).name}")
rtdata.output = repointed_filename
diff = compare_asdf(repointed_filename, rtdata.truth, **ignore_asdf_paths)
assert diff.identical, diff.report()

Expand Down
1 change: 1 addition & 0 deletions romancal/regtest/test_wfi_image_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ def test_repointed_matches_truth(
repointed_filename, _ = repointed_filename_and_delta

rtdata.get_truth(f"truth/WFI/image/{Path(repointed_filename).name}")
rtdata.output = repointed_filename
diff = compare_asdf(repointed_filename, rtdata.truth, **ignore_asdf_paths)
assert diff.identical, diff.report()

Expand Down

0 comments on commit e2c4765

Please sign in to comment.