1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-15 18:00:59 +00:00
trezor-firmware/storage/tests
Martin Milata dadff32f39 build(core): use internal model names everywhere
TREZOR_MODEL=T and TREZOR_MODEL=R

no longer work, please use

  TREZOR_MODEL=T2T1 and TREZOR_MODEL=T2B1

[no changelog]
2025-01-13 16:24:35 +01:00
..
c build(core): use internal model names everywhere 2025-01-13 16:24:35 +01:00
c0 test(storage): workaround clang error 2023-05-16 19:23:33 +02:00
c3 build(core): use internal model names everywhere 2025-01-13 16:24:35 +01:00
python feat(storage): Do not lock freshly initialized storage. 2024-07-09 16:52:50 +02:00
tests feat(storage): Do not lock freshly initialized storage. 2024-07-09 16:52:50 +02:00
Makefile test(storage): add upgrade test from version 3 2024-02-20 09:37:28 +01:00
README.md storage: alter README to reflect monorepo 2019-04-25 16:50:56 +02:00
test.py style(storage): apply isort 5 2023-08-16 13:29:51 +02:00

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.