From 7875bfc432deb7f4a93642c7d6b2ce7f0295042d Mon Sep 17 00:00:00 2001 From: Shahul Hameed <10547529+shahthepro@users.noreply.github.com> Date: Tue, 9 Apr 2024 17:58:44 +0530 Subject: [PATCH] Fix is_nano check --- tests/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/utils.py b/tests/utils.py index 71cd1c04..0b0c830c 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -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",