1
0
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:
Martin Milata 2025-02-13 15:37:46 +01:00 committed by M1nd3r
parent 55fd099523
commit 224e3825be
2 changed files with 0 additions and 4 deletions

View File

@ -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."""

View File

@ -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,