Skip to content

Commit

Permalink
add test to run with CI
Browse files Browse the repository at this point in the history
  • Loading branch information
javerbukh committed Dec 13, 2024
1 parent 41b51f6 commit a12b687
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ def test_sonify_data(cubeviz_helper, spectrum1d_cube_larger):
assert sonify_plg.flux_viewer.stream_active


def test_sonify_data_does_not_break_other_things(cubeviz_helper, spectrum1d_cube_larger):
cubeviz_helper.load_data(spectrum1d_cube_larger, data_label="test")
assert len(cubeviz_helper.app.data_collection) > 0
def test_sonify_data_disabled(cubeviz_helper, spectrum1d_cube_larger):
if IN_GITHUB_ACTIONS:
cubeviz_helper.load_data(spectrum1d_cube_larger, data_label="test")
sonify_plg = cubeviz_helper.app.get_tray_item_from_name('cubeviz-sonify-data')
assert sonify_plg.disabled_msg

0 comments on commit a12b687

Please sign in to comment.