1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-17 21:22:10 +00:00
trezor-firmware/storage/tests
2020-03-17 11:53:48 +01:00
..
c storage: gitignore hypothesis and libtrezor-storage.so. 2019-11-25 12:32:20 +01:00
c0
python storage: Check for invalid PIN. 2020-03-17 11:53:48 +01:00
tests storage: Check for invalid PIN. 2020-03-17 11:53:48 +01:00
Makefile ci: add junit for a nice tests overview 2020-01-03 12:44:12 +00:00
README.md
test.py

Trezor Storage tests

This repository contains all the necessary files to properly test Trezor's internal storage.

This repository consists of:

  • c: The actual C version is implemented in the main storage folder, however we need some other accompanying files to build it on computer.
  • c0: This is the older version of Trezor storage. It is used to test upgrades from the older format to the newer one.
  • python: Python version. Serves as a reference implementation and is implemented purely for the goal of properly testing the C version.
  • tests: Most of the tests run the two implementations against each other. Uses Pytest and hypothesis for random tests.