From 245543244938d69e5d0a1352f089bc88d2534d63 Mon Sep 17 00:00:00 2001 From: "P. L. Lim" <2090236+pllim@users.noreply.github.com> Date: Wed, 15 Jan 2025 11:12:34 -0500 Subject: [PATCH] TST: Update result for test_data_quality_plugin --- .../default/plugins/data_quality/tests/test_data_quality.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jdaviz/configs/default/plugins/data_quality/tests/test_data_quality.py b/jdaviz/configs/default/plugins/data_quality/tests/test_data_quality.py index 66e8ad3a8d..8c47098891 100644 --- a/jdaviz/configs/default/plugins/data_quality/tests/test_data_quality.py +++ b/jdaviz/configs/default/plugins/data_quality/tests/test_data_quality.py @@ -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,