Commit Graph

49 Commits (eb1d66e27fcbe2be3b888df4c4f9f36f669f109e)

Author SHA1 Message Date
Saleem Rashid 4f5d9c4323 device_tests: Add test_msg_nem_signtx
7 years ago
Jan Pochyla bc42eb68d6 transports: refactor, split protocol code
7 years ago
Jan Pochyla e3c7146a80 tests: add multisig marker
7 years ago
Jochen Hoenicke 5cfa973a78 Fixed white-spaces
7 years ago
Jochen Hoenicke 600bcba69c Updated unit tests for BitcoinCash
7 years ago
Jochen Hoenicke 29f29626fc Added multisig test
7 years ago
Pavol Rusnak 8a663f7ec3
tests: rename BCC to BCH, Bitcoin Cash to Bcash
7 years ago
Pavol Rusnak 32fa08f38b
tests: remove estimate_tx_size
7 years ago
Pavol Rusnak b6dc73ce9c
tests: fix bytes/str problem in test_msg_ethereum_signtx
7 years ago
Pavol Rusnak 81d5170c10
tests: start rewriting device tests to pytest
7 years ago
Pavol Rusnak 8a1d211ee9
tests: fix flake8 errors
7 years ago
Pavol Rusnak 5309baf48e
tests: reduce unhexlify reuse
7 years ago
Pavol Rusnak 11bfacc9b3
tests: bytes are not necessary in unhexlify
7 years ago
Jochen Hoenicke 9917d9ebfc
New unit tests for signing (bitcoin cash)
7 years ago
Pavol Rusnak 11b686a9f2
tests: add tests for Segwit SignMessage/VerifyMessage
7 years ago
Pavol Rusnak 36985519b5
tests: add test for ethereum sign/verify message
7 years ago
Pavol Rusnak e6acf90f2b
tests: add test for broken BackupDevice workflow
7 years ago
Pavol Rusnak 0ee1667c6f
trezorctl: cleanup
7 years ago
Pavol Rusnak 9a709832a9
tests: unit test for ResetDevice_skipbackup (and subsequent BackupDevice)
7 years ago
Pavol Rusnak cbce29163b
tests: add test for RecoveryDevice.dry_run
7 years ago
Pavol Rusnak e9dbfc757c
add usage; add newlines to some tests
7 years ago
Pavol Rusnak 33f274d145
style: use flake8
7 years ago
Pavol Rusnak e7a56899c6
more python3 compatibility
7 years ago
Pavol Rusnak 9311a45e97
refactor txhash ids
7 years ago
Pavol Rusnak a96fdd86be
fix test_msg_signtx.test_fee_too_high
7 years ago
Pavol Rusnak f484f69f88
move native segwit tests to segwit_native.py files (they fail now)
7 years ago
Pavol Rusnak 5ffc2a1d7f
tests: split xprv loading into separate test
7 years ago
Pavol Rusnak 530954acdc
update test_msg_getentropy.py
7 years ago
Pavol Rusnak 91ffca595b
rework multisig tests to specify external outputs via address, not multisig structure
7 years ago
Pavol Rusnak 5fc76709b3
revert part of last commit
7 years ago
Jochen Hoenicke f9cd5da505
Segwit: Fixed Unittests and new tests.
7 years ago
Jochen Hoenicke 1bee5f4de7
Segwit: Unit tests for getaddress
7 years ago
Jochen Hoenicke 0b4d56842e
Segwit: Added unit tests for multisig
7 years ago
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