1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-15 10:58:09 +00:00
trezor-firmware/tests
Pavol Rusnak 0ff7034e37
embed/extmod/modtrezorconfig: refactor PIN UI wait callback (#398)
This commit accomplishes several goals:

1) it removes any upy dependencies from storage.c/storage.h
2) ui wait callback is set during config_init and storage_init,
   which allows to simplify the code dramatically
2018-11-08 15:55:47 +01:00
..
examples/2048 loop: wait -> spawn, select -> wait 2018-04-13 14:57:04 +02:00
production_tests fix release_num values 2018-01-25 17:46:29 +01:00
check_coverage.sh tests: move to /tests to avoid freezing 2016-11-06 17:04:25 +01:00
common.py src+tests: use flake8 F401 to detect unused imports 2018-02-27 03:05:15 +01:00
run_tests_device_emu_monero.sh xmr: master merging commit 2018-10-25 14:04:50 +02:00
run_tests_device_emu.sh tests: auto-detect pytest config 2018-07-10 13:05:15 +02:00
run_tests.sh tests: fix trezor.config test by changing PYOPT to 1 2018-02-09 13:42:20 +01:00
test_apps.cardano.address.py cardano: add low-level support for passhrase 2018-10-26 12:09:10 +02:00
test_apps.cardano.cbor.py cardano: add Cardano currency support 2018-07-25 17:56:29 +02:00
test_apps.cardano.get_public_key.py cardano: add low-level support for passhrase 2018-10-26 12:09:10 +02:00
test_apps.common.coins.py tests: fix coins test (there are few collissions in address_types, but for less significant coins) 2018-06-22 14:43:22 +02:00
test_apps.ethereum.get_address.py Update RSKIP-60 checksum separator (#244) 2018-06-16 13:08:17 +02:00
test_apps.ethereum.layout.py tests: ethereum format_address takes int as an input 2018-03-09 17:42:28 +01:00
test_apps.ethereum.tokens.py eth: unknown token changed to (None, None..) 2018-05-10 14:51:08 +02:00
test_apps.monero.bulletproof.py xmr: master merging commit 2018-10-25 14:04:50 +02:00
test_apps.monero.crypto.py xmr: master merging commit 2018-10-25 14:04:50 +02:00
test_apps.monero.serializer.py xmr: master merging commit 2018-10-25 14:04:50 +02:00
test_apps.nem.address.py nem: compute address from pubkey 2018-06-06 17:24:07 +02:00
test_apps.nem.hdnode.py src+test: fix flake8 warning 2018-06-12 17:41:49 +02:00
test_apps.nem.mosaic_creation.py embed: cleanup Keccak API (drop keccak arg from digest() func) 2018-07-23 15:19:38 +02:00
test_apps.nem.mosaic_supply_change.py embed: cleanup Keccak API (drop keccak arg from digest() func) 2018-07-23 15:19:38 +02:00
test_apps.nem.mosaic.py nem: update test to expect the right name 2018-08-29 12:04:37 +02:00
test_apps.nem.multisig.aggregate_modification.py apps: unify common writer logic 2018-08-23 20:06:00 +02:00
test_apps.nem.multisig.py apps: unify common writer logic 2018-08-23 20:06:00 +02:00
test_apps.nem.namespace.py embed: cleanup Keccak API (drop keccak arg from digest() func) 2018-07-23 15:19:38 +02:00
test_apps.nem.transfer.py embed: cleanup Keccak API (drop keccak arg from digest() func) 2018-07-23 15:19:38 +02:00
test_apps.ripple.pubkey_to_address.py ripple: get address 2018-07-30 16:37:48 +02:00
test_apps.ripple.serializer.py apps: unify common writer logic 2018-08-23 20:06:00 +02:00
test_apps.stellar.address_to_pubkey.py stellar: accounts are addresses 2018-07-11 17:20:25 +02:00
test_apps.tezos.address.py tezos: fixed nitpicks 2018-09-13 15:06:03 +02:00
test_apps.tezos.encode.py tezos: fixed nitpicks 2018-09-13 15:06:03 +02:00
test_apps.wallet.address_grs.py src/apps/wallet/sign_tx: re-enable Decred 2018-10-10 13:00:36 +02:00
test_apps.wallet.address.py utils: simplify HashWriter interface 2018-10-30 15:50:39 +01:00
test_apps.wallet.segwit.bip143.native_p2wpkh.py Fix tests broken by API changes 2018-07-09 21:30:10 +02:00
test_apps.wallet.segwit.bip143.p2wpkh_in_p2sh.py Fix tests broken by API changes 2018-07-09 21:30:10 +02:00
test_apps.wallet.segwit.signtx.native_p2wpkh_grs.py tests/wallet: UiConfirmTotal includes fee 2018-08-23 11:23:58 +02:00
test_apps.wallet.segwit.signtx.native_p2wpkh.py tests/wallet: UiConfirmTotal includes fee 2018-08-23 11:23:58 +02:00
test_apps.wallet.segwit.signtx.p2wpkh_in_p2sh_grs.py tests/wallet: UiConfirmTotal includes fee 2018-08-23 11:23:58 +02:00
test_apps.wallet.segwit.signtx.p2wpkh_in_p2sh.py tests/wallet: UiConfirmTotal includes fee 2018-08-23 11:23:58 +02:00
test_apps.wallet.signtx_grs.py tests/wallet: UiConfirmTotal includes fee 2018-08-23 11:23:58 +02:00
test_apps.wallet.signtx.fee_threshold.py tests/wallet: UiConfirmTotal includes fee 2018-08-23 11:23:58 +02:00
test_apps.wallet.signtx.py tests/wallet: UiConfirmTotal includes fee 2018-08-23 11:23:58 +02:00
test_apps.wallet.signtx.scripts.py src/apps/wallet/sign_tx: fix last commit, add bip115 test 2018-07-04 18:08:05 +02:00
test_apps.wallet.txweight.py signing: rely on address_n being always list 2018-02-26 16:13:00 +01:00
test_apps.wallet.zcash.zip143.py src/apps/wallet/sign_tx: refactor Zcash, add WIP ZIP243; use ensure instead of assert where possible 2018-10-15 18:33:39 +02:00
test_apps.wallet.zcash.zip243.py tests: add one more zcash zip243 test 2018-10-17 15:07:33 +02:00
test_trezor.config.py embed/extmod/modtrezorconfig: refactor PIN UI wait callback (#398) 2018-11-08 15:55:47 +01:00
test_trezor.crypto.aes.py embed/extmod/modtrezorcrypto: refactor AES API, use test from NIST SP 800-38A 2018-08-14 14:42:19 +02:00
test_trezor.crypto.base32.py fix flake8 issues 2018-05-28 15:23:37 +02:00
test_trezor.crypto.base58.py tests: cleanup flake8 warnings 2017-12-16 02:11:26 +01:00
test_trezor.crypto.bech32.py tests: cleanup flake8 warnings 2017-12-16 02:11:26 +01:00
test_trezor.crypto.bip32.py tests: cleanup flake8 warnings 2017-12-16 02:11:26 +01:00
test_trezor.crypto.bip39.py tests: cleanup flake8 warnings 2017-12-16 02:11:26 +01:00
test_trezor.crypto.cashaddr.py src/trezor/crypto: add cashaddr support 2018-05-22 17:47:54 +02:00
test_trezor.crypto.chacha20poly1305.py trezor.crypto: implement chacha20poly1305 aka rfc7539 2018-01-02 18:57:23 +01:00
test_trezor.crypto.crc.py tests: no need to include ubinascii for unit tests 2017-12-19 21:57:42 +01:00
test_trezor.crypto.curve.curve25519.py tests: cleanup flake8 warnings 2017-12-16 02:11:26 +01:00
test_trezor.crypto.curve.ed25519_cosi.py tests: cleanup flake8 warnings 2017-12-16 02:11:26 +01:00
test_trezor.crypto.curve.ed25519.py tests: cleanup flake8 warnings 2017-12-16 02:11:26 +01:00
test_trezor.crypto.curve.nist256p1.py tests: cleanup flake8 warnings 2017-12-16 02:11:26 +01:00
test_trezor.crypto.curve.secp256k1.py tests: cleanup flake8 warnings 2017-12-16 02:11:26 +01:00
test_trezor.crypto.der.py tests: cleanup flake8 warnings 2017-12-16 02:11:26 +01:00
test_trezor.crypto.hashlib.blake2b.py cardano: add Cardano currency support 2018-07-25 17:56:29 +02:00
test_trezor.crypto.hashlib.blake2s.py embed/extmod/modtrezorcrypto: use kwargs for Blake2b/Blake2s 2018-06-19 18:15:58 +02:00
test_trezor.crypto.hashlib.blake256.py modtrezorcrypto: add trezor.crypto.hashlib.blake256 2017-12-13 20:47:12 +01:00
test_trezor.crypto.hashlib.groestl512.py Add Groestl512 hash tests 2018-07-09 21:30:10 +02:00
test_trezor.crypto.hashlib.ripemd160.py tests: cleanup flake8 warnings 2017-12-16 02:11:26 +01:00
test_trezor.crypto.hashlib.sha1.py tests: cleanup flake8 warnings 2017-12-16 02:11:26 +01:00
test_trezor.crypto.hashlib.sha3_256.py embed: cleanup Keccak API (drop keccak arg from digest() func) 2018-07-23 15:19:38 +02:00
test_trezor.crypto.hashlib.sha3_512.py embed: cleanup Keccak API (drop keccak arg from digest() func) 2018-07-23 15:19:38 +02:00
test_trezor.crypto.hashlib.sha256.py tests: cleanup flake8 warnings 2017-12-16 02:11:26 +01:00
test_trezor.crypto.hashlib.sha512.py tests: cleanup flake8 warnings 2017-12-16 02:11:26 +01:00
test_trezor.crypto.hmac.py tests: cleanup flake8 warnings 2017-12-16 02:11:26 +01:00
test_trezor.crypto.pbkdf2.py embed/extmod/modtrezorcrypto: refactor pbkdf2 prf 2018-09-11 18:06:13 +02:00
test_trezor.crypto.random.py tests: make acceptable delta wider in test_trezor.crypto.random 2018-07-10 20:50:04 +02:00
test_trezor.crypto.rfc6979.py tests: cleanup flake8 warnings 2017-12-16 02:11:26 +01:00
test_trezor.crypto.rlp.py tests: cleanup flake8 warnings 2017-12-16 02:11:26 +01:00
test_trezor.io.py tests: cleanup flake8 warnings 2017-12-16 02:11:26 +01:00
test_trezor.ui.display.py build: fix build 2018-09-30 19:38:23 +02:00
test_trezor.utils.py tests: cleanup flake8 warnings 2017-12-16 02:11:26 +01:00
test_trezor.wire.codec_v1.py tests: fix loop.select usage 2018-04-13 15:00:50 +02:00
unittest.py xmr: master merging commit 2018-10-25 14:04:50 +02:00
utest.py trezor.crypto: remove vstr usage, refactor mp_obj_new_str_from_vstr into mp_obj_new_bytes and mp_obj_new_str 2018-01-03 21:53:58 +01:00