Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kecnry committed Dec 9, 2024
1 parent 631ea6c commit ce347d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions jdaviz/tests/test_user_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ def test_specviz_data_labels(specviz_helper, spectrum1d):

def test_toggle_api_hints(specviz_helper):
assert specviz_helper.app.state.show_api_hints is False
specviz_helper.app.toggle_api_hints()
specviz_helper.toggle_api_hints()
assert specviz_helper.app.state.show_api_hints is True
specviz_helper.app.toggle_api_hints(True)
specviz_helper.toggle_api_hints(True)
assert specviz_helper.app.state.show_api_hints is True
specviz_helper.app.toggle_api_hints()
assert specviz_helper.app.state.show_api_hints is False
specviz_helper.toggle_api_hints()
assert specviz_helper.app.state.show_api_hints is False

0 comments on commit ce347d6

Please sign in to comment.