From ed3963459b22cccc9c81983f7250951fd1df9e7c Mon Sep 17 00:00:00 2001 From: Kyle Conroy Date: Fri, 12 Apr 2024 09:23:03 -0400 Subject: [PATCH] update tests --- lcviz/tests/test_plugin_markers.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lcviz/tests/test_plugin_markers.py b/lcviz/tests/test_plugin_markers.py index b96fee1a..299ed7cb 100644 --- a/lcviz/tests/test_plugin_markers.py +++ b/lcviz/tests/test_plugin_markers.py @@ -59,7 +59,8 @@ def test_plugin_markers(helper, light_curve_like_kepler_quarter): 'index': 262.0, 'axes_y': 0.96758735, 'axes_y:unit': '', - 'flux': 0.96758735}) + 'value': 0.96758735, + 'value:unit': ''}) mp._obj._on_viewer_key_event(tv, {'event': 'keydown', 'key': 'm'}) @@ -87,7 +88,8 @@ def test_plugin_markers(helper, light_curve_like_kepler_quarter): 'index': 262.0, 'axes_y': 0.9675873517990112, 'axes_y:unit': '', - 'flux': 0.9675873517990112}) + 'value': 0.9675873517990112, + 'value:unit': ''}) mp._obj._on_viewer_key_event(pv, {'event': 'keydown', 'key': 'm'}) @@ -113,5 +115,6 @@ def test_plugin_markers(helper, light_curve_like_kepler_quarter): 'data_label': '', 'time': np.nan, 'phase': 0.6, - 'flux': 0, + 'value': 0, + 'value:unit': '', 'ephemeris': ''})