Skip to content

Commit

Permalink
update initial equivalency check for tests on default visualization p…
Browse files Browse the repository at this point in the history
…arameters
  • Loading branch information
dylansdaniels committed Nov 26, 2024
1 parent f2f4d7c commit 9f6533e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions hnn_core/tests/test_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -1130,8 +1130,7 @@ def test_default_smoothing(setup_gui):
gui_smooth_value = gui.fig_default_params['default_smoothing']
viz_smooth_value = gui.viz_manager.fig_default_params['default_smoothing']

assert gui_smooth_value == 30
assert viz_smooth_value == 30
assert gui_smooth_value == viz_smooth_value

# update simulation name
gui.widget_simulation_name.value = 'no_smoothing'
Expand Down Expand Up @@ -1191,8 +1190,8 @@ def test_default_frequencies(setup_gui):
gui_max = gui.fig_default_params['default_max_frequency']
viz_max = gui.viz_manager.fig_default_params['default_max_frequency']

assert gui_min == viz_min == 10
assert gui_max == viz_max == 100
assert gui_min == viz_min
assert gui_max == viz_max

# change value of default min/max frequencies in the widget
new_min = 5
Expand Down

0 comments on commit 9f6533e

Please sign in to comment.