1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-04-24 02:59:03 +00:00

fix(tests): clear pin sequence when exiting with block

This commit is contained in:
Martin Milata 2025-04-03 00:27:32 +02:00 committed by M1nd3r
parent 0411db4944
commit 86f06419f0

View File

@ -788,10 +788,10 @@ class DebugUI:
def __init__(self, debuglink: DebugLink) -> None:
self.debuglink = debuglink
self.pins: t.Iterator[str] | None = None
self.clear()
def clear(self) -> None:
self.pins: t.Iterator[str] | None = None
self.passphrase = None
self.input_flow: t.Union[
t.Generator[None, messages.ButtonRequest, None], object, None