mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Use freezegun for time mocking instead of manually patching the datetime module, as it provides a more streamlined solution that works both on CPython and on PyPy. Unfortunately, due to differences between the C datetime extension used by CPython, and the pure Python version of datetime (used by PyPy, and as a fallback on CPython), there does not seem to be a trivial way to mock time that would work with both versions. Fixes #2708 Signed-off-by: Michał Górny <mgorny@gentoo.org> |
||
|---|---|---|
| .. | ||
| generated_data | ||
| repository_data | ||
| .coveragerc | ||
| __init__.py | ||
| aggregate_tests.py | ||
| repository_simulator.py | ||
| simple_server.py | ||
| test_api.py | ||
| test_examples.py | ||
| test_fetcher_ng.py | ||
| test_metadata_eq_.py | ||
| test_metadata_generation.py | ||
| test_metadata_serialization.py | ||
| test_repository.py | ||
| test_trusted_metadata_set.py | ||
| test_updater_consistent_snapshot.py | ||
| test_updater_delegation_graphs.py | ||
| test_updater_fetch_target.py | ||
| test_updater_key_rotations.py | ||
| test_updater_ng.py | ||
| test_updater_top_level_update.py | ||
| test_updater_validation.py | ||
| test_utils.py | ||
| utils.py | ||