mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-17 21:22:10 +00:00
fix(tests): add forgotten assert
This commit is contained in:
parent
80af1c552e
commit
0e9aa7c5dc
@ -23,7 +23,7 @@ def enter_word(
|
||||
def confirm_recovery(debug: "DebugLink", legacy_ui: bool = False) -> None:
|
||||
layout = debug.wait_layout()
|
||||
if legacy_ui:
|
||||
layout.text.startswith("Recovery mode")
|
||||
assert layout.text.startswith("Recovery mode")
|
||||
else:
|
||||
assert layout.get_title().startswith("WALLET RECOVERY")
|
||||
debug.click(buttons.OK, wait=True)
|
||||
|
Loading…
Reference in New Issue
Block a user