From d720fa3f8385c378041a872af386873d994f0feb Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Fri, 3 Jul 2020 16:54:35 +0200 Subject: [PATCH] tests: fix flake errors --- tests/device_tests/test_msg_ethereum_signtx_eip155.py | 2 +- tests/device_tests/test_msg_signtx_bgold.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/device_tests/test_msg_ethereum_signtx_eip155.py b/tests/device_tests/test_msg_ethereum_signtx_eip155.py index ff262a1bf3..6dd04f8318 100644 --- a/tests/device_tests/test_msg_ethereum_signtx_eip155.py +++ b/tests/device_tests/test_msg_ethereum_signtx_eip155.py @@ -118,7 +118,7 @@ def test_chain_ids(client, chain_id, slip44, sig): def test_with_data(client): sig_v, sig_r, sig_s = ethereum.sign_tx( client, - n=parse_path(f"m/44h/60h/0h/0/0"), + n=parse_path("m/44h/60h/0h/0/0"), nonce=0, gas_price=20000000000, gas_limit=21000, diff --git a/tests/device_tests/test_msg_signtx_bgold.py b/tests/device_tests/test_msg_signtx_bgold.py index d3f2d8624d..b9010cd862 100644 --- a/tests/device_tests/test_msg_signtx_bgold.py +++ b/tests/device_tests/test_msg_signtx_bgold.py @@ -36,6 +36,7 @@ TXHASH_f55c5b = bytes.fromhex( "f55c5bc925eb2a0bf9de0ac142b24bed81ec46dd2151d5f69728070eaea1aded" ) + # All data taken from T1 @pytest.mark.altcoin class TestMsgSigntxBitcoinGold: