diff --git a/tests/click_tests/test_autolock.py b/tests/click_tests/test_autolock.py index 542d752754..e841d60f0c 100644 --- a/tests/click_tests/test_autolock.py +++ b/tests/click_tests/test_autolock.py @@ -287,7 +287,7 @@ def test_dryrun_locks_at_number_of_words(device_handler: "BackgroundDeviceHandle set_autolock_delay(device_handler, 10_000) debug = device_handler.debuglink() - device_handler.run(device.recover, dry_run=True) # type: ignore + device_handler.run(device.recover, type=messages.RecoveryType.DryRun) layout = unlock_dry_run(debug) assert TR.recovery__num_of_words in debug.read_layout().text_content() @@ -319,7 +319,7 @@ def test_dryrun_locks_at_word_entry(device_handler: "BackgroundDeviceHandler"): set_autolock_delay(device_handler, 10_000) debug = device_handler.debuglink() - device_handler.run(device.recover, dry_run=True) # type: ignore + device_handler.run(device.recover, type=messages.RecoveryType.DryRun) unlock_dry_run(debug) @@ -345,7 +345,7 @@ def test_dryrun_enter_word_slowly(device_handler: "BackgroundDeviceHandler"): set_autolock_delay(device_handler, 10_000) debug = device_handler.debuglink() - device_handler.run(device.recover, dry_run=True) # type: ignore + device_handler.run(device.recover, type=messages.RecoveryType.DryRun) unlock_dry_run(debug)