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:
parent
0cf404b573
commit
b87d23613f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user