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

44 Commits

Author SHA1 Message Date
matejcik
f87d931ce7 trezorlib: factor out NEM to a separate module 2018-03-20 12:39:23 +01:00
Tomas Susanka
a5e3d50fb0 tests/device: nem bytes assert 2018-03-19 14:52:50 +01:00
Roman Zeyde
ab5e4eee34 tests: add test_msg_getecdhsessionkey.py (#233) 2018-03-11 22:51:14 +01:00
matejcik
5edcea9ba6
transport: fix all_transports when required modules are missing (#232)
This lets the library work without libusb or hidapi (`--disable-libusb`, `--disable-hidapi`).
2018-03-09 10:58:24 +01:00
Tomas Susanka
89eac8f157 tests/device: more Bitcoin Gold tests
including segwit and multisig
updates https://github.com/trezor/trezor-core/issues/147
2018-03-08 14:35:56 +01:00
Tomas Susanka
869af4498b tests/device: Bitcoin Gold tests 2018-03-07 16:43:01 +01:00
Pavol Rusnak
683f383e90
tests: fix test_msg_getpublickey_curve.py (don't try public derivation for ed25519) 2018-03-07 15:46:09 +01:00
matejcik
f75b90d260 Merge branch 'upstream' into refactor-transport-nicediff 2018-03-05 19:56:47 +01:00
Jan Pochyla
95603b85dd tests: enable segwit sign&verify tests for t2 2018-03-05 17:45:17 +01:00
Jan Pochyla
4979c296b7 tests: enable test_apply_settings, test_apply_settings_passphrase for t2 2018-03-05 17:45:17 +01:00
Pavol Rusnak
db827bfe01
tests: update test_msg_getpublickey.py, add test_msg_getpublickey_curve.py 2018-03-05 17:37:56 +01:00
Jan Pochyla
0e065237c9 tests: disable TestBip32Speed::test_cache on t2 2018-03-05 15:49:04 +01:00
matejcik
513e6aae08 better way for test suite to search for the right device,
that also respects TREZOR_PATH
2018-03-02 18:25:39 +01:00
matejcik
55641dd8b5 make flake8 happy (#225) 2018-03-02 16:47:29 +01:00
Tomas Susanka
b24550c72f tests: ethereum sign/verify is skipped (#224) 2018-03-02 16:37:34 +01:00
Pavol Rusnak
b1a76e4a68
tests: revert basic tests 2018-03-01 00:07:27 +01:00
Pavol Rusnak
0d680944a4
txcache: add new tx 2018-02-28 00:56:55 +01:00
Tomas Susanka
6e1eb8e664 tests/device: ethereum erc20 tokens test 2018-02-27 17:41:18 +01:00
Jan Pochyla
6c8ccc0680 tests/device_tests: for t2, enable bch & multisig, disable load & reset 2018-02-27 16:29:59 +01:00
Tomas Susanka
a8d34430a5 tests/device/bcash: fix attack amount test 2018-02-27 15:10:36 +01:00
Tomas Susanka
aec8f04f68 tests/device: assert exception type and message 2018-02-27 15:08:00 +01:00
Pavol Rusnak
8dffdd8f85
tests: fix test_basic (don't compare state in Features), add test_basic_state 2018-02-27 14:24:23 +01:00
Tomas Susanka
55da3d9a9a tests/device/signtx: assert exception type and message 2018-02-27 11:50:10 +01:00
Tomas Susanka
617ccc21d9 tests: deepcopy is required when debug_processor is invoked 2018-02-23 16:03:43 +01:00
Tomas Susanka
cbd3751bdb tests/device: allow multiple output changes (treat second as a normal output)
based upon e716f7e84e
2018-02-23 13:14:10 +01:00
Tomas Susanka
0e2d5c8155 tests/device: change on main chain IS allowed
based upon e716f7e84e
2018-02-23 13:10:55 +01:00
Tomas Susanka
1e8f2d1e72 tests/device: change on main chain not allowed 2018-02-23 13:09:49 +01:00
Tomas Susanka
bc036bc857 tests/device: two output changes yield error
this test should fail on T1 after e716f7e84ecdb4732ad97b56e78d7407ec0b321e
2018-02-22 14:20:53 +01:00
Jan Pochyla
2c91a668aa tests: fix udp debuglink 2018-02-21 15:31:32 +01:00
Tomas Susanka
30e5c80956 Multisig tests enabled for t2 (#216) 2018-02-08 15:36:26 +01:00
Pavol Rusnak
646338c414
small nits of last commit 2018-02-01 10:31:47 +01:00
Karel Bilek
759316e96f Add webusb to transports
V2 protocol with debug link is not tested.
2018-02-01 10:25:01 +01:00
Pavol Rusnak
47cfa178e4
tests: fix test_msg_ethereum_signtx.py 2018-01-11 23:06:47 +01:00
Tomas Susanka
0c517c1565 tests/device: code style typos 2018-01-11 22:54:08 +01:00
Tomas Susanka
4bbf5880ce tests/device: ethereum sign tx with expected checks 2018-01-11 22:54:08 +01:00
Pavol Rusnak
6b31ac9753
fix typo 2017-12-27 01:44:26 +01:00
Pavol Rusnak
70e6d13c23
device tests: simplify, drop unittest dependency 2017-12-23 22:03:24 +01:00
Pavol Rusnak
1881b0e6fd
device tests: re-enable ethereum tests for T2 again 2017-12-23 13:51:18 +01:00
Saleem Rashid
b3ef649f64 device_tests: Add test_decred_multisig_change 2017-12-23 13:42:59 +01:00
Saleem Rashid
2df19127fd device_tests: Add test_decred_send_change 2017-12-23 13:42:59 +01:00
Saleem Rashid
0926ab9bc8 device_tests: Clean up test_decred_send 2017-12-23 13:42:59 +01:00
Pavol Rusnak
41b75c5655
device_tests: use skip_t1 and skip_t2 markers 2017-12-19 19:24:40 +01:00
Pavol Rusnak
8a37c28ed6
fix typos in test names 2017-12-19 15:54:07 +01:00
Saleem Rashid
1c8f03968c tests: Move to trezorlib.tests 2017-12-19 13:16:22 +01:00