1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-04-20 00:59:02 +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 544b61340b
commit b58fb9351e

View File

@ -53,6 +53,7 @@ class BackgroundDeviceHandler:
def _configure_client(self, client: "Client") -> None:
self.client = client
self.client.ui = NullUI # type: ignore [NullUI is OK UI]
self.client.button_callback = self.client.ui.button_request
self.client.watch_layout(True)
def run_with_session(