fix change_pin test

(cherry picked from commit 9824e59ef9)
This commit is contained in:
scgbckbone 2023-12-15 08:51:27 +01:00 committed by doc-hex
parent eef6aaf95a
commit 2bd2b361a8

View File

@ -107,7 +107,9 @@ def change_pin(cap_screen, cap_story, cap_menu, need_keypress, my_enter_pin):
# use standard menus and UX to change a PIN
title, story = cap_story()
assert title == hdr_text
assert ('We strongly recommend' in story) or (CLR_PIN in story)
assert "changing the main PIN used to unlock your Coldcard" in story
assert "ABSOLUTELY NO WAY TO RECOVER A FORGOTTEN PIN!" in story
assert "Write it down" in story
need_keypress('y')
time.sleep(0.01) # required