Skip to content

Commit

Permalink
Test: fix check_app_context
Browse files Browse the repository at this point in the history
Since, with this change, showing the authorized public_key_hash from
left show the last screen (and not the first as it was before the change)
  • Loading branch information
spalmer25 committed Mar 19, 2024
1 parent 5fa3d45 commit 2097e21
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions test/test_instructions.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,15 +121,13 @@ def both():
left()
screen("high_watermark")
left()
if account is not None and tezos_navigator.firmware.device == "nanos":
screen("public_key_hash_1")
right()
screen("public_key_hash_2")
left()
screen("public_key_hash_1")
if account is not None and firmware.device == "nanos":
for i in reversed(range(1, account.nanos_screens + 1)):
screen("public_key_hash_" + str(i))
left()
else:
screen("public_key_hash")
left()
left()
screen("chain_id")
left()
screen("version")
Expand Down

0 comments on commit 2097e21

Please sign in to comment.