From d4423b3569b08f2c33a3ce470118c9460d211bcb Mon Sep 17 00:00:00 2001 From: matejcik Date: Tue, 24 Sep 2024 11:06:21 +0200 Subject: [PATCH] fix(tests): correctly check that backup flow was aborted --- tests/device_tests/reset_recovery/test_recovery_slip39_basic.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/device_tests/reset_recovery/test_recovery_slip39_basic.py b/tests/device_tests/reset_recovery/test_recovery_slip39_basic.py index 9e8f2b280b..3f7ed75e73 100644 --- a/tests/device_tests/reset_recovery/test_recovery_slip39_basic.py +++ b/tests/device_tests/reset_recovery/test_recovery_slip39_basic.py @@ -117,6 +117,7 @@ def test_abort(client: Client): device.recover(client, pin_protection=False, label="label") client.init_device() assert client.features.initialized is False + assert client.features.recovery_status is messages.RecoveryStatus.Nothing @pytest.mark.setup_client(uninitialized=True) @@ -130,6 +131,7 @@ def test_abort_between_shares(client: Client): device.recover(client, pin_protection=False, label="label") client.init_device() assert client.features.initialized is False + assert client.features.recovery_status is messages.RecoveryStatus.Nothing @pytest.mark.setup_client(uninitialized=True)