mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-21 20:12:02 +00:00
wip
This commit is contained in:
parent
a42b5db520
commit
dee0a96a56
@ -70,6 +70,7 @@ def prepare_passphrase_dialogue(
|
||||
) -> Generator["DebugLink", None, None]:
|
||||
debug = device_handler.debuglink()
|
||||
device_handler.run_with_session(get_test_address) # type: ignore
|
||||
print(debug.read_layout().main_component())
|
||||
assert debug.read_layout().main_component() == "PassphraseKeyboard"
|
||||
|
||||
# Resetting the category as it could have been changed by previous tests
|
||||
|
@ -92,6 +92,7 @@ def prepare_passphrase_dialogue(
|
||||
) -> Generator["DebugLink", None, None]:
|
||||
debug = device_handler.debuglink()
|
||||
device_handler.run_with_session(get_test_address) # type: ignore
|
||||
print(debug.read_layout().main_component())
|
||||
layout = debug.read_layout()
|
||||
assert "PassphraseKeyboard" in layout.all_components()
|
||||
assert layout.passphrase() == ""
|
||||
|
@ -98,6 +98,7 @@ def prepare_passphrase_dialogue(
|
||||
) -> Generator["DebugLink", None, None]:
|
||||
debug = device_handler.debuglink()
|
||||
device_handler.run_with_session(get_test_address) # type: ignore
|
||||
print(debug.read_layout().main_component()) # TODO
|
||||
assert debug.read_layout().main_component() == "PassphraseKeyboard"
|
||||
|
||||
# Resetting the category as it could have been changed by previous tests
|
||||
|
Loading…
Reference in New Issue
Block a user