Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kecnry committed Apr 12, 2024
1 parent d6f6e3e commit ed39634
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions lcviz/tests/test_plugin_markers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'})
Expand Down Expand Up @@ -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'})
Expand All @@ -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': ''})

0 comments on commit ed39634

Please sign in to comment.