mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-01 10:20:59 +00:00
fixup! chore(core): show the last passphrase character for a while
This commit is contained in:
parent
e674efc501
commit
ba52fdf421
@ -343,10 +343,10 @@ def test_cycle_through_last_character(
|
||||
def test_last_char_timeout(device_handler: "BackgroundDeviceHandler"):
|
||||
with prepare_passphrase_dialogue(device_handler) as debug:
|
||||
for character in CommonPass.MULTI_CATEGORY:
|
||||
# insert a digit
|
||||
# insert a character
|
||||
input_passphrase(debug, character)
|
||||
# wait until the last digit is hidden
|
||||
# wait until the last character is hidden
|
||||
time.sleep(DELAY_S)
|
||||
# show the entire PIN
|
||||
# show the entire passphrase
|
||||
show_passphrase(debug)
|
||||
enter_passphrase(debug)
|
||||
|
@ -274,10 +274,10 @@ def test_passphrase_loop_all_characters(device_handler: "BackgroundDeviceHandler
|
||||
def test_last_char_timeout(device_handler: "BackgroundDeviceHandler"):
|
||||
with prepare_passphrase_dialogue(device_handler) as debug:
|
||||
for character in CommonPass.MULTI_CATEGORY:
|
||||
# insert a digit
|
||||
# insert a character
|
||||
input_passphrase(debug, character)
|
||||
# wait until the last digit is hidden
|
||||
# wait until the last character is hidden
|
||||
time.sleep(DELAY_S)
|
||||
# show the entire PIN
|
||||
# show the entire passphrase
|
||||
show_passphrase(debug)
|
||||
enter_passphrase(debug)
|
||||
|
@ -310,10 +310,10 @@ def test_cycle_through_last_character(
|
||||
def test_last_char_timeout(device_handler: "BackgroundDeviceHandler"):
|
||||
with prepare_passphrase_dialogue(device_handler) as debug:
|
||||
for character in CommonPass.MULTI_CATEGORY:
|
||||
# insert a digit
|
||||
# insert a character
|
||||
input_passphrase(debug, character)
|
||||
# wait until the last digit is hidden
|
||||
# wait until the last character is hidden
|
||||
time.sleep(DELAY_S)
|
||||
# show the entire PIN
|
||||
# show the entire passphrase
|
||||
show_passphrase(debug)
|
||||
enter_passphrase(debug)
|
||||
|
Loading…
Reference in New Issue
Block a user