mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-21 20:12:02 +00:00
test(core): remove dead code
[no changelog]
This commit is contained in:
parent
55fd099523
commit
224e3825be
@ -446,8 +446,6 @@ class DebugLink:
|
|||||||
|
|
||||||
self.waiting_for_layout_change = False
|
self.waiting_for_layout_change = False
|
||||||
|
|
||||||
self.input_wait_type = DebugWaitType.IMMEDIATE
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def legacy_ui(self) -> bool:
|
def legacy_ui(self) -> bool:
|
||||||
"""Differences between UI1 and UI2."""
|
"""Differences between UI1 and UI2."""
|
||||||
|
@ -6,7 +6,6 @@ from concurrent.futures import ThreadPoolExecutor
|
|||||||
import typing_extensions as tx
|
import typing_extensions as tx
|
||||||
|
|
||||||
from trezorlib.client import PASSPHRASE_ON_DEVICE
|
from trezorlib.client import PASSPHRASE_ON_DEVICE
|
||||||
from trezorlib.messages import DebugWaitType
|
|
||||||
from trezorlib.transport import udp
|
from trezorlib.transport import udp
|
||||||
|
|
||||||
if t.TYPE_CHECKING:
|
if t.TYPE_CHECKING:
|
||||||
@ -50,7 +49,6 @@ class BackgroundDeviceHandler:
|
|||||||
self.client = client
|
self.client = client
|
||||||
self.client.ui = NullUI # type: ignore [NullUI is OK UI]
|
self.client.ui = NullUI # type: ignore [NullUI is OK UI]
|
||||||
self.client.watch_layout(True)
|
self.client.watch_layout(True)
|
||||||
self.client.debug.input_wait_type = DebugWaitType.CURRENT_LAYOUT
|
|
||||||
|
|
||||||
def run_with_session(
|
def run_with_session(
|
||||||
self,
|
self,
|
||||||
|
Loading…
Reference in New Issue
Block a user