Commit Graph

197 Commits (ae3f4823ae4d9624e43398607819df86d1840331)

Author SHA1 Message Date
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
Pavol Rusnak b7f5849ecc fix ButtonRequestType in Ping and GetEntropy
11 years ago
Pavol Rusnak cff0b5fbf7 add test_signtx to test_protection_levels
11 years ago
Pavol Rusnak deec6fc2fc simplify test for test_255_outputs using list comprehensions
11 years ago
Pavol Rusnak 615473409a add expected responses to test_msg_signtx test
11 years ago
Pavol Rusnak 3865d22c56 add expected responses to test_msg_signtx.test_one_one_fee unit test
11 years ago
slush0 99af68388d Added unittest test_attack_change_outputs
11 years ago
Pavol Rusnak 35661161c9 simplify test_255_outputs
11 years ago
Pavol Rusnak b91bd9d628 use simplesigntx tests for signtx
11 years ago
Pavol Rusnak c642605ad2 modify simplesigntx to match signtx semantics
11 years ago
Pavol Rusnak 7ae8894214 fix two more unit tests
11 years ago
slush0 2964cc4f9c Temporary disabled unit test
11 years ago
slush0 cbe8b42eed First unit test for streaming tx
11 years ago
slush0 d017ae2adf Fixed RequestTx structure
11 years ago
slush0 e9dbedfd33 Added unit test for PAYTOSCRIPTHASH
11 years ago
Pavol Rusnak 38ed16934f use bitcore for tx api
11 years ago
Pavol Rusnak 860aa753c9 put TXAPIs into one location
11 years ago
Pavol Rusnak dc0d7fd1d6 initialize version/lock_time in TransactionType
11 years ago
Pavol Rusnak 51b9d4e177 recompile pb, adjust TransactionType constructors
11 years ago
slush0 21f3481c61 Removed button presses for LoadDevice/ResetDevice/RecoveryDevice
11 years ago
slush0 d2a787821b Fixed reset device
11 years ago
Pavol Rusnak 25631221c5 fix test_word_fail in test_msg_recoverydevice
11 years ago
slush0 e0efe950c0 Fixed typos
11 years ago
slush0 40f8c56eb4 Updated tests to do
11 years ago
slush0 bf7fb7928b Numbered mnemonic
11 years ago
Pavol Rusnak da6ce3acb8 add test for failed word in recovery device
11 years ago
Pavol Rusnak 4fc8868589 rename word variables in DebugLinkState message
11 years ago
Pavol Rusnak 14007cc613 add test_verify_bitcoind to test_msg_verifymessage
11 years ago
Pavol Rusnak 2f498f63e2 don't request confirmation of change addresses
11 years ago
Pavol Rusnak 1e148a7b7b really query for internal entropy before sending external one
11 years ago
Pavol Rusnak 006812a0b3 add one more test to test_msg_changepin
11 years ago
Pavol Rusnak 50d1537f43 disable layout retrieval in debuglink for now
11 years ago
slush0 8e97281f29 Unit tests of recovery device, apply settings
11 years ago
slush0 2708ccd8ba Test of change pin failure
11 years ago
slush0 39348895f9 Fixed unittest for get_subnode CKD
11 years ago
slush0 e19c8881c0 Removed 'version' from HDNodeType & fixed unit tests
11 years ago
Pavol Rusnak 4ca5b9e5e2 fix get_public_node call in test_msg_getaddress
11 years ago
Pavol Rusnak 729fac2077 add coin param to get_public_node call; new test for getpublickey message
11 years ago
slush0 640d290129 Implements 'with' + set_expected_responses
11 years ago
slush0 9310465946 ChangePin unittest
11 years ago
slush0 2e326bae91 Reworked&updated unittest todo
11 years ago
slush0 c743765a1b Renamed unit tests
11 years ago
slush0 ca14d1a995 Renamed unit tests for better consistency
11 years ago
slush0 1a15cbafb4 Changed unittest's TODO
11 years ago
slush0 f6845089d5 Added utf8 tests to sign/verify messages
11 years ago
slush0 c870b65f22 Renamed unittests for better consistency
11 years ago
slush0 e2aca677c0 WipeDevice test
11 years ago
slush0 56a9a4b384 DeviceLoad using UTF8 mnemonic
11 years ago
slush0 dfeb6de331 Test for Reset Device
11 years ago
Pavol Rusnak 8f7c8799a4 forgot Success
11 years ago
Pavol Rusnak b63418c8b8 add read_passphrase_protection to debuglink
11 years ago
Pavol Rusnak 74f3502637 don't call load_device in tests setup
11 years ago
Pavol Rusnak 86f1c716a9 use set_expected_responses in test_entropy and test_pings
11 years ago
slush0 5ed9fc8b1a Tests use new "set_expected_responses"
11 years ago
slush0 a0bc12375c Add tests for too long message and for testnet addresses
11 years ago
slush0 a117057dea Slightly refactored mixin structure, added debugging output
11 years ago
slush0 1f893afedd Root path is [], not [0]
11 years ago
slush0 21b3b0ab91 Tests reworked to new TrezorClient API, all tests passes.
11 years ago
slush0 36b0c8095d Fixed tx hash
11 years ago
Pavol Rusnak 59f4dcbaa5 compute root node via bip39 in test_bip32_speed before checking speed
11 years ago
slush0 2e9104f3c2 Reworked unit tests for using sigencode=sigencode_der_canonize in emu/trezor.
11 years ago
slush0 0d25c8974e Added basic testnet tests
11 years ago
slush0 f5606d6824 Edited list of useful tests
11 years ago
slush0 e160afa56d Added signing tests
11 years ago
Pavol Rusnak 33d4fc9f24 autodetect type of device in config
11 years ago
Pavol Rusnak 6ee8d7d949 and test_pings for combinations of input params
11 years ago
Pavol Rusnak 17e28c0e10 add asserts to debuglink tests
11 years ago
Pavol Rusnak 49cecb563d add test_debuglink test
11 years ago
slush0 919c216ac5 First attempt to use ButtonRequestType
11 years ago
slush0 1a71d7634b Comments
11 years ago
Pavol Rusnak 07137cae91 test_entropy does not need load_device
11 years ago