From 0e9aa7c5dc4dbe6926f802fac9995126857a6c64 Mon Sep 17 00:00:00 2001 From: matejcik Date: Tue, 21 Mar 2023 10:45:06 +0100 Subject: [PATCH] fix(tests): add forgotten assert --- tests/click_tests/recovery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/click_tests/recovery.py b/tests/click_tests/recovery.py index 55e9aaeee..79d197909 100644 --- a/tests/click_tests/recovery.py +++ b/tests/click_tests/recovery.py @@ -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)