Commit Graph

267 Commits (1193b0ee8591b7864fae981622a55f9a9a47ca8c)

Author SHA1 Message Date
Pavol Rusnak 91222b4687
tests/config: fix usb hid logic
7 years ago
Pavol Rusnak 5860207e68
Revert "test_msg_signidentity: ed25519 pubkey starts with 1 not 0"
7 years ago
Pavol Rusnak 4cba191997
fix logic in device tests config
7 years ago
Pavol Rusnak 58faa02263
print info on skipping transports
7 years ago
Pavol Rusnak 0840117033
update pipe_exists function
7 years ago
Pavol Rusnak 4999056678
make device tests work without hid
7 years ago
Pavol Rusnak 9c744a1c3d
fix test_msg_signtx.test_fee_too_high (make fee higher)
7 years ago
Pavol Rusnak 504db8283b
add version and lock_time attributes to sign_tx function
7 years ago
Pavol Rusnak 30b13dba58
test_msg_signidentity: ed25519 pubkey starts with 1 not 0
7 years ago
Jochen Hoenicke a990743010 Ethereum: More unit tests for signing
8 years ago
Jochen Hoenicke 607893f9ac Ethereum: EIP-155 replay protection
8 years ago
Pavol Rusnak 08cfe0d8c6
add license headers to unit tests
8 years ago
Jochen Hoenicke 8f424b2299 Segwit: Added another unit test
8 years ago
Jochen Hoenicke 7ce7732c63 Segwit: Added unit test for signing
8 years ago
Pavol Rusnak 71ecf77616
nitpick: unify ckd_public import across the package
8 years ago
Pavol Rusnak 06cedd2150
move device (=TREZOR) tests to tests/device_tests, create tests/unit_tests for unit tests
8 years ago
Pavol Rusnak ec966a0111
rename txcache files to json
8 years ago
Pavol Rusnak 17435cf174
update to new ApplySettings order
8 years ago
Pavol Rusnak c12bfc4add
enable debuglink for v2 Emulator
8 years ago
Pavol Rusnak 77bfef3a25
allow running tests without debuglink
8 years ago
Pavol Rusnak 35f789122b
tests: support v2 emulator in tests
8 years ago
Pavol Rusnak df338c4399
tests: remove obsoleted raspi code
8 years ago
Pavol Rusnak 046ced3f81
rework txapi class to use local cache, add txcache fixtures
8 years ago
Pavol Rusnak 43a224b091
new unit test for zcash testnet
8 years ago
Pavol Rusnak eff303cecc
fix test_protection_levels
8 years ago
Pavol Rusnak 22faa4cafa
add msg_signtx_zcash unittest
8 years ago
Pavol Rusnak c6094dc9ad
verify_message now requires coin_name
8 years ago
Jochen Hoenicke ad5b693ffa Unit Test: PIN protection timeout
8 years ago
Jochen Hoenicke 195b7e47e1
More unit tests for ethereum signing
8 years ago
Pavol Rusnak 3be88e69ff
add unit tests for ethereum messages
8 years ago
Pavol Rusnak c972d396ae
fix test_protection_levels
8 years ago
Jochen Hoenicke d5daf1d2f0
Fixed unit tests (also for Python 3)
8 years ago
Pavol Rusnak 3a108ee8a5
fix pylint warnings
8 years ago
Pavol Rusnak 54c8bfd1d4
import print function from future
8 years ago
Pavol Rusnak 021389efe8
more fixes
8 years ago
Pavol Rusnak 52ad4e9f0d
update get_public_key and get_address tests to reflect reality
8 years ago
Pavol Rusnak 61579deff6
update signidentity tests
8 years ago
Pavol Rusnak de9b10fd90
more python3 stuff
8 years ago
slush0 64fadde3e0
Passes first unit tests (against trezor-emu over transport_pipe).
8 years ago
slush0 6ec2ff3eac
Preparation for python3 support (WIP)
8 years ago
Pavol Rusnak f3449fcbd7
fix spelling of TREZOR
9 years ago
Pavol Rusnak fc1b12d80d
fix whitespace
9 years ago
Pavol Rusnak ca45019918
add slip-13 paths to the test
9 years ago
Pavol Rusnak b2bc509218 added description for pin entering
9 years ago
Pavol Rusnak a22dbca8fe adapt signidentity test to new ssh signatures
9 years ago
Pavol Rusnak 80c45d9678 fix signidentity test after slip-0013 change
9 years ago
Pavol Rusnak e272ce4d14 set TX API in tests/common.py
9 years ago
Pavol Rusnak 16c07561b5 don't assign tx_api when not needed
9 years ago
Pavol Rusnak bf539f0b47 split xprv unit test into two
9 years ago
Pavol Rusnak fdbdb527dc add test for encrypted xprv
9 years ago
Pavol Rusnak 95817eb5d3 adapt to SLIP-0013
9 years ago
Pavol Rusnak 68ef2d2262 implement SignIdentity/SignedIdentity
9 years ago
Pavol Rusnak 870da7aa17 don't try to change 2 things using apply_settings in unit test
10 years ago
Pavol Rusnak 62aff7a22a adapt tests to reflect reorder change
10 years ago
Pavol Rusnak 11e7f21ac3 nicer image in homescreen test
10 years ago
Pavol Rusnak e42cfe365f use better image for test
10 years ago
Pavol Rusnak 686b8cc4b8 update protobuf, introduce homescreen
10 years ago
Pavol Rusnak d83926fb13 add failing test to test_op_return
10 years ago
Pavol Rusnak 85d8fa90c8 update protobuf, enable OP_RETURN
10 years ago
Pavol Rusnak 1daf603135 increase range for bip32 caching test
10 years ago
slush0 018a347aca Added test of DerivationCache
10 years ago
Pavol Rusnak 399deeee67 add tests for multisig tx change confirmation
10 years ago
Pavol Rusnak a51a530dbc cleanup multisig test
10 years ago
slush0 2b664a6b4d Renamed HDPubkeyType to HDNodePathType
10 years ago
Pavol Rusnak eea4f8be5d fix ApplySettings test
10 years ago
Pavol Rusnak bc07b044b0 update pb
10 years ago
Pavol Rusnak 63ee124254 test for ApplySettings.use_passphrase
10 years ago
slush0 74a1e18e4c Fix for new multisig API
10 years ago
slush0 bb88abab1e Reflects changes in multisig API: Pass HDNodeType+address_n instead of pubkeys
10 years ago
Pavol Rusnak 1fde1ecc22 add 15-15-multisig to show address test
10 years ago
Pavol Rusnak c0d0b191d6 test_msg_getaddress_show test now supports multisig
10 years ago
slush0 58f5644402 Merge branch 'master' of github.com:trezor/python-trezor
10 years ago
slush0 c7431750a2 Added multisig tests for missing pubkey and for 15of15
10 years ago
Pavol Rusnak 705190e147 add test for GetAddress with show flag on
10 years ago
Pavol Rusnak 610547cf32 add button_wait feature for tests
10 years ago
Pavol Rusnak 2ffdff9816 check partial sigs in multisig test
10 years ago
slush0 5c03c72d91 First multisig unit test
10 years ago
Pavol Rusnak 6a27ce2d5c rewrite sign/verify tests to test long messages
10 years ago
Pavol Rusnak 69d2d2ded3 verify test without address does not make sense
10 years ago
Pavol Rusnak 1c6ed65921 add more tests to test_msg_verifymessage
10 years ago
Pavol Rusnak f790c95df0 add longer strings to ecies tests
10 years ago
Pavol Rusnak f9e45d8e94 rework EncryptMessage/DecryptMessage
10 years ago
Pavol Rusnak 399d4e10d7 create test_ecies for testing ECIES
10 years ago
Pavol Rusnak 06214d52b4 fix unittests using client.get_public_node method
10 years ago
Pavol Rusnak 4f621b1da0 fix test_recovery_device in test_protection_levels.py
10 years ago
Pavol Rusnak 9ed0604b65 use HidTransport by default again
10 years ago
Pavol Rusnak a527456db5 add transport for bridge
10 years ago
Pavol Rusnak a0d73b25fe change logic of recovery
10 years ago
Pavol Rusnak 2d2e31fa50 refactor pprint (add new inspection fields, but comment them)
10 years ago
Pavol Rusnak 7305a77f3e make test_255_outputs more general and rename to test_lots_of_outputs
10 years ago
Pavol Rusnak d46bdf2f6e reenable TestDebugLink.test_layout
10 years ago
Pavol Rusnak 260a4322a6 add ClearSession message with unit test
10 years ago
Pavol Rusnak a3d22dc56e add tests for EncryptMessage/DecryptMessage
10 years ago
Pavol Rusnak c38f4346f6 add run-separate.sh script
10 years ago
Pavol Rusnak f17f7d0569 don't use simplesigntx in tests where signtx can be used
10 years ago
Pavol Rusnak 1038a0a3e6 added test for cipherkeyvalue
10 years ago
Pavol Rusnak 0307307dad fix tests to match reality :)
10 years ago
Pavol Rusnak c06a45c1a8 disable utf tests for sign/verify message for now
10 years ago
Pavol Rusnak 83c93ba3a0 copy test_spend_coinbase to simplesigntx suite as well
10 years ago
slush0 3077b752d4 test_spend_coinbase
10 years ago