1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 04:18:10 +00:00

fix(tests): tweak pressed button in repeated backup

This commit is contained in:
matejcik 2024-06-05 21:36:34 +02:00 committed by matejcik
parent ffe07f2ca6
commit d58dac03a4

View File

@ -58,14 +58,14 @@ def test_repeated_backup(
# confirm backup intro # confirm backup intro
reset.confirm_read(debug) reset.confirm_read(debug)
# confirm backup warning
reset.confirm_read(debug, middle_r=True)
# let's make a 1-of-1 backup to start with... # let's make a 1-of-1 backup to start with...
assert debug.model is not None assert debug.model is not None
model_name: str = debug.model.internal_name model_name: str = debug.model.internal_name
# confirm checklist
reset.confirm_read(debug)
# shares=1 # shares=1
reset.set_selection(debug, buttons.reset_minus(model_name), 5 - 1) reset.set_selection(debug, buttons.reset_minus(model_name), 5 - 1)