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

fix(tests): fix click test reset slip39 basic

This commit is contained in:
M1nd3r 2025-03-11 16:23:27 +01:00
parent 39790517c2
commit 1bf29b4036

View File

@ -19,6 +19,7 @@ from typing import TYPE_CHECKING
import pytest
from trezorlib import device, messages
from trezorlib.client import ProtocolVersion
from ..common import EXTERNAL_ENTROPY, MOCK_GET_ENTROPY, generate_entropy
from . import reset
@ -50,6 +51,7 @@ def test_reset_slip39_basic(
device_handler.run_with_provided_session(
session,
device.setup,
seedless=True,
strength=128,
backup_type=messages.BackupType.Slip39_Basic,
pin_protection=False,
@ -57,6 +59,8 @@ def test_reset_slip39_basic(
entropy_check_count=0,
_get_entropy=MOCK_GET_ENTROPY,
)
if device_handler.client.protocol_version is ProtocolVersion.PROTOCOL_V2:
reset.confirm_read(debug, middle_r=True)
# confirm new wallet
reset.confirm_new_wallet(debug)