1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-04-22 10:09:04 +00:00

feat(eckhart): implement fido tests

This commit is contained in:
Lukas Bielesch 2025-04-12 23:56:35 +02:00
parent 0b31a124c3
commit f4fd6a2f0b
3 changed files with 4 additions and 3 deletions

View File

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

View File

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

View File

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