1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-10-18 13:59:17 +00:00
trezor-firmware/storage/tests
2022-05-03 19:00:04 +02:00
..
c refactor: Move flash_init to emulator main. 2022-05-03 19:00:04 +02:00
c0 refactor: Move flash_init to emulator main. 2022-05-03 19:00:04 +02:00
python
tests test(storage): remove timeouts for test_random and test_random_upgrade 2022-04-05 16:55:49 +02:00
Makefile ci: Use address sanitizer in CI. 2022-01-19 15:22:03 +01: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.