diff --git a/test/test_device.py b/test/test_device.py index b61e3226d..4b7a9b1e0 100644 --- a/test/test_device.py +++ b/test/test_device.py @@ -535,6 +535,10 @@ def test_big_tx(self): self.fail('Big tx did not cause CLI to error') if self.emulator.type == 'coldcard': self.assertEqual(result['code'], -7) + elif self.emulator.type in ('trezor_1', 'trezor_t'): + # Trezor rejects to sign as inputs do not correspond to the wallet's private keys + self.assertEqual(result['code'], -13) + self.assertIn('Input does not match scriptPubKey', result['error']) else: self.assertNotIn('code', result) self.assertNotIn('error', result)