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
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
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
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
91ffca595b
rework multisig tests to specify external outputs via address, not multisig structure
2017-05-06 19:58:21 +02:00
Pavol Rusnak
5fc76709b3
revert part of last commit
2017-05-04 18:10:17 +02:00
Jochen Hoenicke
f9cd5da505
Segwit: Fixed Unittests and new tests.
...
- Wrong BIP-32 path in change address leads to ButtonRequest.
- Add tests for change address with segwit and correct bip32 path.
2017-05-03 19:16:47 +02:00
Jochen Hoenicke
1bee5f4de7
Segwit: Unit tests for getaddress
2017-05-03 19:16:46 +02:00
Jochen Hoenicke
0b4d56842e
Segwit: Added unit tests for multisig
2017-05-03 19:16:46 +02:00
Pavol Rusnak
91222b4687
tests/config: fix usb hid logic
2017-05-03 17:35:49 +02:00
Pavol Rusnak
5860207e68
Revert "test_msg_signidentity: ed25519 pubkey starts with 1 not 0"
...
This reverts commit 30b13dba58
.
2017-05-03 17:27:02 +02:00
Pavol Rusnak
4cba191997
fix logic in device tests config
2017-04-25 17:04:59 +02:00
Pavol Rusnak
58faa02263
print info on skipping transports
2017-04-25 16:55:59 +02:00
Pavol Rusnak
0840117033
update pipe_exists function
2017-04-25 16:47:30 +02:00
Pavol Rusnak
4999056678
make device tests work without hid
2017-04-25 16:37:27 +02:00
Pavol Rusnak
9c744a1c3d
fix test_msg_signtx.test_fee_too_high (make fee higher)
2017-04-25 15:50:00 +02:00
Pavol Rusnak
504db8283b
add version and lock_time attributes to sign_tx function
2017-04-19 14:19:26 +02:00
Pavol Rusnak
30b13dba58
test_msg_signidentity: ed25519 pubkey starts with 1 not 0
2017-04-16 22:05:55 +02:00
Jochen Hoenicke
a990743010
Ethereum: More unit tests for signing
2017-01-22 19:13:21 +01:00
Jochen Hoenicke
607893f9ac
Ethereum: EIP-155 replay protection
...
Added chain_id parameter to sign tx (and updated protobuf).
Added a unit test with chain_id for Ropsten testnet.
trezorctl:
- Fixed compatibility with new ethjsonrpc
- added chain_id parameter
2017-01-22 19:13:21 +01:00
Pavol Rusnak
08cfe0d8c6
add license headers to unit tests
2017-01-03 19:40:05 +01:00
Jochen Hoenicke
8f424b2299
Segwit: Added another unit test
2017-01-03 15:56:22 +01:00