Skip to content

Commit

Permalink
Backport PR spacetelescope#3390: TST: Update result for test_data_qua…
Browse files Browse the repository at this point in the history
…lity_plugin
  • Loading branch information
pllim authored and meeseeksmachine committed Jan 16, 2025
1 parent 495e49a commit 8ae60e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def test_data_quality_plugin(imviz_helper, tmp_path):

# check that the decomposed DQ flag is at the end of the flux label's line:
flux_label_idx = label_mouseover_text.index(expected_flux_label)
assert label_mouseover_text[flux_label_idx + len(expected_flux_label) + 1:] == '(DQ: 1)'
assert label_mouseover_text[flux_label_idx + len(expected_flux_label) + 1:] == '(DQ: 3)'

# check that a flagged pixel that is not marked with the bit 0 has a flux in mouseover label:
label_mouseover._viewer_mouse_event(viewer,
Expand Down

0 comments on commit 8ae60e0

Please sign in to comment.