1
0
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:
matejcik 2023-03-21 10:45:06 +01:00 committed by matejcik
parent 80af1c552e
commit 0e9aa7c5dc

View File

@ -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)