Skip to content

Commit

Permalink
tests: fix (removed index)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Jun 17, 2021
1 parent 90f2d7b commit 6061642
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_fd_fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def test_ancillary_update_init(qtbot):
# set initial parameters in user interface
itab = war.tab_fit.table_parameters_initial
atab = war.tab_fit.table_parameters_anc
war.on_tab_changed(1)
war.on_tab_changed()
assert len(war.data_set[0].preprocessing) == 1
assert war.tab_preprocess.list_preproc_applied.count() == 1
# The ancillary parameter gets its value from the default parameters
Expand Down Expand Up @@ -139,7 +139,7 @@ def test_ancillary_update_preproc_change(qtbot):
# set initial parameters in user interface
itab = war.tab_fit.table_parameters_initial
atab = war.tab_fit.table_parameters_anc
war.on_tab_changed(1)
war.on_tab_changed()
assert len(war.data_set[0].preprocessing) == 1
assert war.tab_preprocess.list_preproc_applied.count() == 1
assert atab.item(0, 1).text() == "nan"
Expand Down

0 comments on commit 6061642

Please sign in to comment.