1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-04-19 16:49:02 +00:00

fixup! fixup! test: update click tests

This commit is contained in:
M1nd3r 2025-03-31 20:28:40 +02:00
parent 80d9f53fdd
commit 66b0cb0d8b
2 changed files with 4 additions and 1 deletions

View File

@ -21,7 +21,8 @@ from typing import TYPE_CHECKING, Generator, Optional
import pytest
from trezorlib import messages
from trezorlib.debuglink import LayoutType, SessionDebugWrapper as Session
from trezorlib.debuglink import LayoutType
from trezorlib.debuglink import SessionDebugWrapper as Session
from trezorlib.transport.session import SessionV1
from ..common import TEST_ADDRESS_N

View File

@ -87,6 +87,8 @@ CATEGORY_ACTIONS = {
PassphraseCategory.UPPERCASE: UPPERCASE_ACTIONS,
PassphraseCategory.SPECIAL: SPECIAL_ACTIONS,
}
def _get_test_address(session: Session) -> None:
resp = session.call_raw(
messages.GetAddress(address_n=TEST_ADDRESS_N, coin_name="Testnet")