From f4fd6a2f0bd09e66949997b96a7f6945a6eaf861 Mon Sep 17 00:00:00 2001 From: Lukas Bielesch Date: Sat, 12 Apr 2025 23:56:35 +0200 Subject: [PATCH] feat(eckhart): implement fido tests --- tests/device_tests/webauthn/test_msg_webauthn.py | 2 +- tests/device_tests/webauthn/test_u2f_counter.py | 1 - tests/input_flows.py | 4 +++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/device_tests/webauthn/test_msg_webauthn.py b/tests/device_tests/webauthn/test_msg_webauthn.py index 798bebb7e2..3fd7ca7fd9 100644 --- a/tests/device_tests/webauthn/test_msg_webauthn.py +++ b/tests/device_tests/webauthn/test_msg_webauthn.py @@ -27,7 +27,7 @@ from .data_webauthn import CRED1, CRED2, CRED3, CREDS RK_CAPACITY = 100 -@pytest.mark.models("core", skip=["eckhart"]) +@pytest.mark.models("core") @pytest.mark.altcoin @pytest.mark.setup_client(mnemonic=MNEMONIC12) def test_add_remove(client: Client): diff --git a/tests/device_tests/webauthn/test_u2f_counter.py b/tests/device_tests/webauthn/test_u2f_counter.py index f7cbb1c9fb..d99467f2b9 100644 --- a/tests/device_tests/webauthn/test_u2f_counter.py +++ b/tests/device_tests/webauthn/test_u2f_counter.py @@ -21,7 +21,6 @@ from trezorlib.debuglink import TrezorClientDebugLink as Client @pytest.mark.altcoin -@pytest.mark.models(skip=["eckhart"]) def test_u2f_counter(client: Client): assert fido.get_next_counter(client) == 0 assert fido.get_next_counter(client) == 1 diff --git a/tests/input_flows.py b/tests/input_flows.py index dd8796bbeb..7b446eacb1 100644 --- a/tests/input_flows.py +++ b/tests/input_flows.py @@ -2901,4 +2901,6 @@ class InputFlowFidoConfirm(InputFlowBase): self.debug.click(self.debug.screen_buttons.tap_to_confirm()) def input_flow_eckhart(self) -> BRGeneratorType: - assert False, "Not implemented" + while True: + yield + self.debug.press_yes()