1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-05 21:10:57 +00:00

test: fix style

[no changelog]
This commit is contained in:
M1nd3r 2024-11-26 14:43:28 +01:00
parent 643dd53775
commit bb87825324
3 changed files with 6 additions and 9 deletions

View File

@ -1036,7 +1036,7 @@ class SessionDebugWrapper(Session):
elif isinstance(session, SessionDebugWrapper):
raise Exception("Cannot wrap already wrapped session!")
else:
self.session_version = -1 # UNKNOWN
self.client.session_version = -1 # UNKNOWN
@property
def session_version(self) -> int:

View File

@ -16,12 +16,10 @@
import pytest
from trezorlib import device
from trezorlib import messages
from trezorlib.debuglink import DebugLink, LayoutType, SessionDebugWrapper as Session
from trezorlib.messages import RecoveryStatus, WipeDevice
from tests import buttons
from trezorlib import device, messages
from trezorlib.debuglink import DebugLink, LayoutType
from trezorlib.debuglink import SessionDebugWrapper as Session
from trezorlib.messages import RecoveryStatus
from ..click_tests import common, recovery
from ..common import MNEMONIC_SLIP39_ADVANCED_20, MNEMONIC_SLIP39_BASIC_20_3of6

View File

@ -20,8 +20,7 @@ from typing import TYPE_CHECKING, List, Optional
import pytest
from shamir_mnemonic import shamir
from trezorlib import btc, debuglink, device, exceptions, fido, models
from trezorlib import messages
from trezorlib import btc, debuglink, device, exceptions, fido, messages, models
from trezorlib.debuglink import SessionDebugWrapper as Session
from trezorlib.messages import (
ApplySettings,