1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-27 01:48:17 +00:00
trezor-firmware/tests/test.py

53 lines
966 B
Python
Executable File

#!/usr/bin/python
'''
TODO:
ApplySettings
x ChangePin
x Ping
x GetEntropy
GetPublicKey
x GetAddress
x WipeDevice
x LoadDevice
x ResetDevice
RecoveryDevice
x SignMessage
x VerifyMessage
EstimateTxSize
- SignTx
x SimpleSignTx
FirmwareErase
FirmwareUpload
protection levels
- zrejme v sucinnosti s inymi testami
x ButtonRequest/ButtonAck workflow
x PinMatrixRequest/PinMatrixAck workflow
x PassphraseRequest/PassphraseAck workflow
- rozsirit test_sign.tx o viac transakcii (zlozitejsich)
x fee over threshold
x not enough funds
x viac ako jeden vstup a jeden vystup
x iny cointype ako 0
- chceme v tomto release(?)
x SignMessage workflow
x VerifyMessage workflow
otestovat session handling (tento test bude zrejme failovat na RPi)
Failure_NotInitialized
Features reflects all variations of LoadDevice
Maxfee settings
Client requires OTP
Client requires PIN
x Zero signature test
x test bip39, utf, passphrase
x Clear session on ChangePin
'''