1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-04-15 06:45:59 +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 0cf404b573
commit b87d23613f

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
@ -48,6 +49,7 @@ def test_reset_slip39_basic(
device_handler.run_with_session(
device.setup,
seedless=True,
strength=128,
backup_type=messages.BackupType.Slip39_Basic,
pin_protection=False,
@ -55,6 +57,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)