Skip to content

Commit

Permalink
Backport PR spacetelescope#3161: TST: Update remote data result for D…
Browse files Browse the repository at this point in the history
…Q plugin
  • Loading branch information
pllim authored and meeseeksmachine committed Aug 21, 2024
1 parent 6742c66 commit abde8cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def test_data_quality_plugin(imviz_helper, tmp_path):
label_mouseover._viewer_mouse_event(viewer,
{'event': 'mousemove', 'domain': {'x': 1371, 'y': 715}})
label_mouseover_text = label_mouseover.as_text()[0]
assert label_mouseover_text.split('+')[1] == '2.94744e-01 MJy/sr (DQ: 4)'
assert label_mouseover_text.split('+')[1].endswith('(DQ: 4)')

# check that a pixel without a DQ flag has no DQ mouseover label:
label_mouseover._viewer_mouse_event(viewer,
Expand Down

0 comments on commit abde8cc

Please sign in to comment.