mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-22 06:18:07 +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:
|
def confirm_recovery(debug: "DebugLink", legacy_ui: bool = False) -> None:
|
||||||
layout = debug.wait_layout()
|
layout = debug.wait_layout()
|
||||||
if legacy_ui:
|
if legacy_ui:
|
||||||
layout.text.startswith("Recovery mode")
|
assert layout.text.startswith("Recovery mode")
|
||||||
else:
|
else:
|
||||||
assert layout.get_title().startswith("WALLET RECOVERY")
|
assert layout.get_title().startswith("WALLET RECOVERY")
|
||||||
debug.click(buttons.OK, wait=True)
|
debug.click(buttons.OK, wait=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user