Skip to content

Commit

Permalink
Fix is_nano check
Browse files Browse the repository at this point in the history
  • Loading branch information
shahthepro committed Apr 9, 2024
1 parent 4e165f2 commit 7875bfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def run_test(contract, data, backend, firmware, navigator, test_name, wallet_add
# send the transaction
with client.sign(DERIVATION_PATH, tx_params):
# Validate the on-screen request by performing the navigation appropriate for this device
if firmware.device.startswith("nano"):
if firmware.is_nano:
navigator.navigate_until_text_and_compare(NavInsID.RIGHT_CLICK,
[NavInsID.BOTH_CLICK],
"Accept",
Expand Down

0 comments on commit 7875bfc

Please sign in to comment.