Martin Milata
927ee0812b
core: add hard limit for transaction fees
...
The hard limit is set to 10*fee_warning_threshold. The limit is not
enforced when `safety_checks` is set to "Prompt".
2020-08-17 16:12:33 +02:00
Martin Milata
75fa9dee77
test_msg_signtx: proto -> messages
2020-08-17 16:12:33 +02:00
Andrew Kozlik
c7bc945d95
tests: Test transaction with multiple change-outputs.
2020-07-09 15:51:23 +02:00
matejcik
7a3637d5b0
core/sign_tx: add checks for version_group_id and branch_id fields
2020-05-24 14:36:37 +00:00
matejcik
d804680552
tests: simplify code of test_msg_signtx
...
Instead of a function generating the expected_responses, introduce
shortcuts (request_input, request_output...) so that the static
expected_responses are more readable.
Also introduce the possibility to include conditional responses (e.g.,
seen only on trezor-core)
WIP
2020-05-24 14:36:37 +00:00
matejcik
29db769185
tests: update test vectors to use correct paths
2020-05-15 14:08:29 +02:00
matejcik
feaaaf8973
tests: simplify code of test_msg_signtx
...
Instead of a function generating the expected_responses, introduce
shortcuts (request_input, request_output...) so that the static
expected_responses are more readable.
2020-04-25 18:27:29 +02:00
Tomas Susanka
a0c8f8f00e
tests/signing: add more tests for incorrect script type
2020-04-24 17:19:33 +00:00
matejcik
5885978c83
Merge branch 'release/2020-04'
2020-04-15 15:00:23 +02:00
matejcik
1b50877545
tests: streamline TrezorFailure exception usage
2020-03-26 11:30:06 +01:00
matejcik
b440ca1ec5
python: drop deprecated name CallException
2020-03-26 11:30:06 +01:00
matejcik
b3569a53e6
tests: update tx_cache usages
2020-03-26 11:30:06 +01:00
Tomas Susanka
ae4f927a45
tests: test incorrect script type
2020-03-20 14:19:31 +00:00
matejcik
ed464f3d47
all: ensure expiry, timestamp and extra_data are blocked as appropriate
2020-03-20 14:18:27 +00:00
matejcik
303c05aba7
core/sign_tx: check if prev_tx has enough outputs to match prev_index
2020-03-20 14:17:44 +00:00
matejcik
5b7d11e4ee
tests: remove explicit timeouts from test suite
2020-03-09 10:31:17 +01:00
matejcik
066686a20c
tests: raise timeouts for slow tests
2020-01-27 19:41:50 +01:00
Tomas Susanka
51ef963738
tests: introduce UI tests for core
2020-01-03 14:28:27 +00:00
Andrew Kozlik
1ca1d77bf7
tests/sign_tx: Add a test to ensure that if the change output is modified after the user confirms the transaction, then signing fails.
2019-10-17 12:59:27 +02:00
matejcik
e89a913b1b
tests: fix relative imports
2019-09-12 14:41:05 +02:00
matejcik
e3ceef2af6
tests: drop all explicit conftest references
2019-09-12 14:41:05 +02:00
matejcik
56f5f73550
tests: drop TrezorTest class
2019-09-12 14:41:05 +02:00
matejcik
e0f55be7a6
tests: convert from self.client to the client fixture
2019-08-29 15:07:50 +02:00
matejcik
eb6f6dd572
tests: move tx_cache impl
2019-08-12 12:57:25 +02:00
matejcik
b4fa6f2a7f
tests: move device tests to top-level
2019-08-12 12:57:25 +02:00