1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-10-13 11:29:11 +00:00
Commit Graph

272 Commits

Author SHA1 Message Date
Pavol Rusnak
a9291e89c5
no need to use byteindex/iterbytes anymore 2017-12-18 22:26:55 +01:00
Saleem Rashid
f2a52400c3 device_tests: Round time in test_backoff
Fix random failures on emulator due to minimal communication overhead
2017-12-18 21:19:22 +01:00
Saleem Rashid
fd32c3aa84 device_tests: Fix test_protect_call 2017-12-18 21:19:22 +01:00
Saleem Rashid
feec0a572c device_tests: Add TestMsgSigntxDecred 2017-12-18 16:34:43 +01:00
slush
a27217811b Rework from Google's protobuf to pure-python protobuf implementation 2017-12-17 02:19:16 +01:00
Jochen Hoenicke
2a5888b380 Added missing cached tx for msg_signtx 2017-11-17 21:04:03 +01:00
Jochen Hoenicke
99af1639a6 Updated multisig change test
Use BIP-45 paths with correct change addresses.
This fixes #154.
2017-11-17 21:04:03 +01:00
Pavol Rusnak
225160d7bd
device_tests: op_return now requires confirmation by user 2017-11-15 15:42:28 +01:00
Pavol Rusnak
5730f00ff8
device_tests: disable signtx_zcash 2017-11-15 14:35:34 +01:00
Jochen Hoenicke
91a541e862 Expect confirm button for unusual change address (#138)
Changed two tests to different (existing) txs with correct change
address, changed the other tests to expect an additional button
confirmation.
2017-11-08 22:09:28 +01:00
Pavol Rusnak
a5fc76d8c9
don't use generic Exception, but rather specific subclass 2017-11-06 11:10:23 +01:00
Jochen Hoenicke
ebb9540ac2 Added unit tests for sign/verifymessage bech32 2017-11-03 18:32:45 +01:00
Jochen Hoenicke
6d74c6c9df Updated segwit_native tests to bech32 and python3 2017-11-03 18:32:45 +01:00
Jan Pochyla
cc9ddcbc12 device_tests: wrap tests in a session 2017-10-31 17:04:27 +01:00
Pavol Rusnak
0f722c1991
tests: add device test for CoSi 2017-10-04 00:51:32 +02:00
Jan Pochyla
8202971109 rework lazy connecting in client 2017-09-04 13:36:08 +02:00
Jan Pochyla
c805284a86 tests: fix client init 2017-09-04 11:22:41 +02:00
Saleem Rashid
29a145154f device_tests: Add test_msg_nem_getaddress 2017-09-03 19:05:29 +02:00
Saleem Rashid
4f5d9c4323 device_tests: Add test_msg_nem_signtx 2017-09-03 19:05:29 +02:00
Jan Pochyla
bc42eb68d6 transports: refactor, split protocol code 2017-08-24 14:29:27 +02:00
Pavol Rusnak
a4a7aa8d85
trezorctl: fix hexlify calls on python3 2017-08-17 21:18:49 +02:00
Jan Pochyla
e3c7146a80 tests: add multisig marker 2017-08-15 17:33:11 +02:00
Jochen Hoenicke
5cfa973a78 Fixed white-spaces 2017-08-13 20:49:23 +02:00
Jochen Hoenicke
600bcba69c Updated unit tests for BitcoinCash 2017-08-13 20:49:23 +02:00
Jochen Hoenicke
29f29626fc Added multisig test 2017-08-13 20:49:23 +02:00
Pavol Rusnak
8a663f7ec3
tests: rename BCC to BCH, Bitcoin Cash to Bcash 2017-07-31 15:29:11 +02:00
Pavol Rusnak
32fa08f38b
tests: remove estimate_tx_size 2017-07-31 14:00:26 +02:00
Pavol Rusnak
b6dc73ce9c
tests: fix bytes/str problem in test_msg_ethereum_signtx 2017-07-31 13:56:25 +02:00
Pavol Rusnak
81d5170c10
tests: start rewriting device tests to pytest 2017-07-28 18:07:20 +02:00
Pavol Rusnak
8a1d211ee9
tests: fix flake8 errors 2017-07-28 16:08:33 +02:00
Pavol Rusnak
5309baf48e
tests: reduce unhexlify reuse 2017-07-28 15:24:18 +02:00
Pavol Rusnak
11bfacc9b3
tests: bytes are not necessary in unhexlify 2017-07-28 15:17:19 +02:00
Jochen Hoenicke
9917d9ebfc
New unit tests for signing (bitcoin cash) 2017-07-27 21:51:00 +02:00
Pavol Rusnak
efe36b3a2f
unit_tests: rewrite from unittest to pytest 2017-07-26 14:48:20 +02:00
Pavol Rusnak
11b686a9f2
tests: add tests for Segwit SignMessage/VerifyMessage 2017-07-25 19:29:28 +02:00
Pavol Rusnak
36985519b5
tests: add test for ethereum sign/verify message 2017-07-17 14:40:35 +02:00
Pavol Rusnak
f73fc33439
drop internal use of protobuf_json, use json_format provided by google.protobuf 2017-07-10 15:36:44 +02:00
Pavol Rusnak
e6acf90f2b
tests: add test for broken BackupDevice workflow 2017-07-05 13:03:06 +02:00
Pavol Rusnak
0ee1667c6f
trezorctl: cleanup 2017-07-05 12:55:38 +02:00
Pavol Rusnak
9a709832a9
tests: unit test for ResetDevice_skipbackup (and subsequent BackupDevice) 2017-06-28 18:04:19 +02:00
Pavol Rusnak
cbce29163b
tests: add test for RecoveryDevice.dry_run 2017-06-28 16:39:51 +02:00
Pavol Rusnak
e9dbfc757c
add usage; add newlines to some tests 2017-06-28 13:42:44 +02:00
Pavol Rusnak
33f274d145
style: use flake8 2017-06-23 21:52:53 +02:00
Pavol Rusnak
e7a56899c6
more python3 compatibility 2017-06-19 00:00:26 +02:00
Pavol Rusnak
9311a45e97
refactor txhash ids 2017-05-15 14:14:45 +02:00
Pavol Rusnak
a96fdd86be
fix test_msg_signtx.test_fee_too_high 2017-05-15 12:09:48 +02:00
Pavol Rusnak
f484f69f88
move native segwit tests to segwit_native.py files (they fail now) 2017-05-13 00:59:39 +02:00
Pavol Rusnak
5ffc2a1d7f
tests: split xprv loading into separate test 2017-05-08 22:15:24 +02:00
Pavol Rusnak
530954acdc
update test_msg_getentropy.py 2017-05-08 22:10:47 +02:00
Pavol Rusnak
6f092f323b
add new txcache files 2017-05-07 00:47:23 +02:00