1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-04-21 09:39:02 +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 3cd92f1f1a
commit 627e3abc9a

View File

@ -808,10 +808,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