1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-21 05:48:23 +00:00
Commit Graph

229 Commits

Author SHA1 Message Date
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
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
Jochen Hoenicke
7ce7732c63 Segwit: Added unit test for signing 2017-01-02 21:43:49 +01:00
Pavol Rusnak
71ecf77616
nitpick: unify ckd_public import across the package 2016-12-01 14:16:32 +01:00
Pavol Rusnak
06cedd2150
move device (=TREZOR) tests to tests/device_tests, create tests/unit_tests for unit tests 2016-11-28 16:04:55 +01:00
Pavol Rusnak
ec966a0111
rename txcache files to json 2016-11-28 14:33:24 +01:00
Pavol Rusnak
17435cf174
update to new ApplySettings order 2016-11-22 22:04:23 +01:00
Pavol Rusnak
c12bfc4add
enable debuglink for v2 Emulator 2016-11-14 18:54:02 +01:00
Pavol Rusnak
77bfef3a25
allow running tests without debuglink 2016-11-12 15:06:32 +01:00
Pavol Rusnak
35f789122b
tests: support v2 emulator in tests 2016-11-11 18:57:59 +01:00
Pavol Rusnak
df338c4399
tests: remove obsoleted raspi code 2016-11-11 18:42:21 +01:00
Pavol Rusnak
046ced3f81
rework txapi class to use local cache, add txcache fixtures 2016-11-08 15:07:58 +01:00
Pavol Rusnak
43a224b091
new unit test for zcash testnet 2016-10-26 14:53:00 +02:00
Pavol Rusnak
eff303cecc
fix test_protection_levels 2016-10-25 17:06:11 +02:00
Pavol Rusnak
22faa4cafa
add msg_signtx_zcash unittest 2016-10-21 15:25:24 +02:00
Pavol Rusnak
c6094dc9ad
verify_message now requires coin_name 2016-10-10 11:02:04 +02:00
Jochen Hoenicke
ad5b693ffa Unit Test: PIN protection timeout
Don't expect any minimum timeout on the first PIN entry.
2016-08-30 12:55:18 +02:00
Jochen Hoenicke
195b7e47e1
More unit tests for ethereum signing 2016-08-23 22:00:50 +02:00
Pavol Rusnak
3be88e69ff
add unit tests for ethereum messages 2016-08-16 17:22:30 +02:00
Pavol Rusnak
c972d396ae
fix test_protection_levels 2016-06-30 15:19:44 +02:00
Jochen Hoenicke
d5daf1d2f0
Fixed unit tests (also for Python 3)
Removed old unit tests for non-implemented functions (SimpleSignTx, Ecies).
2016-06-28 01:06:51 +02:00
Pavol Rusnak
3a108ee8a5
fix pylint warnings 2016-05-26 17:20:44 +02:00
Pavol Rusnak
54c8bfd1d4
import print function from future 2016-05-20 22:27:20 +02:00
Pavol Rusnak
021389efe8
more fixes 2016-05-20 17:20:11 +02:00
Pavol Rusnak
52ad4e9f0d
update get_public_key and get_address tests to reflect reality 2016-05-20 16:34:49 +02:00
Pavol Rusnak
61579deff6
update signidentity tests 2016-05-20 15:28:52 +02:00
Pavol Rusnak
de9b10fd90
more python3 stuff 2016-05-20 13:46:51 +02:00