1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-05-08 18:08:46 +00:00

fixup! chore(tests): adapt testing framework to session based

This commit is contained in:
M1nd3r 2025-03-28 11:45:35 +01:00
parent e8e8ff1bc3
commit 754e7afa4f

View File

@ -53,6 +53,7 @@ class BackgroundDeviceHandler:
def _configure_client(self, client: "Client") -> None: def _configure_client(self, client: "Client") -> None:
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.button_callback = self.client.ui.button_request
self.client.watch_layout(True) self.client.watch_layout(True)
def run_with_session( def run_with_session(