mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-18 05:28:40 +00:00
tests: simplify code of test_msg_signtx
Instead of a function generating the expected_responses, introduce shortcuts (request_input, request_output...) so that the static expected_responses are more readable. Also introduce the possibility to include conditional responses (e.g., seen only on trezor-core) WIP
This commit is contained in:
parent
3843f917e9
commit
d804680552
@ -1167,5 +1167,5 @@ class TestMsgSigntx:
|
||||
TrezorFailure, match="Multisig field provided but not expected."
|
||||
):
|
||||
btc.sign_tx(
|
||||
client, "Testnet", [inp1], [out1, out2], prev_txes=TxCache("Testnet")
|
||||
client, "Testnet", [inp1], [out1, out2], prev_txes=TX_CACHE_TESTNET
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user