mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-30 03:18:20 +00:00
device_tests: fix failed test
This commit is contained in:
parent
b67322be2f
commit
bb5e49e452
@ -224,9 +224,10 @@ class TestMsgSigntxBch(TrezorTest):
|
||||
with pytest.raises(CallException) as exc:
|
||||
self.client.sign_tx('Bcash', [inp1, inp2], [out1], debug_processor=attack_processor)
|
||||
|
||||
assert exc.value.args[0] == proto.FailureType.DataError
|
||||
assert exc.value.args[0] in (proto.FailureType.ProcessError, proto.FailureType.DataError)
|
||||
assert exc.value.args[1].endswith('Transaction has changed during signing')
|
||||
|
||||
|
||||
def test_attack_change_input(self):
|
||||
self.setup_mnemonic_allallall()
|
||||
self.client.set_tx_api(TxApiBcash)
|
||||
|
Loading…
Reference in New Issue
Block a user