python-tuf/tests
Ivana Atanasova d8d0486514 Fix expired metadata tests
This change fixes the expired metadata tests to mock `datetime`
as previously they mocked `time` incorrectly, which did not affect
update methods, as they use `datetime.datetime.utcnow()` to
calculate now

Signed-off-by: Ivana Atanasova <iyovcheva@vmware.com>
2022-03-18 19:53:50 +02:00
..
repository_data test: drop legacy test metadata generation scripts 2022-01-26 14:52:04 +01:00
.coveragerc Update misc repo metadata after legacy code drop 2022-01-26 15:25:40 +01:00
__init__.py Support ISO 8601, vendor iso8601, clean codebase. 2014-04-19 14:27:53 -04:00
aggregate_tests.py Apply black on tests/aggregate_tests.py 2021-12-07 11:51:23 +02:00
repository_simulator.py Fix expired metadata tests 2022-03-18 19:53:50 +02:00
simple_server.py tests: Remove unused options from simple_server 2022-01-21 11:31:09 +02:00
test_api.py Add "validation" arg in JSONSerializer 2022-02-28 14:42:06 +02:00
test_examples.py test: add missing return type hint in test method 2021-12-10 10:48:36 +01:00
test_fetcher_ng.py exceptions: rename FetcherHTTPError 2022-02-04 11:03:12 +02:00
test_metadata_eq_.py Take order into account for certain cases 2022-02-28 14:42:06 +02:00
test_metadata_serialization.py Merge pull request #1860 from MVrachev/serialization-bytes-array 2022-03-07 11:14:31 +02:00
test_trusted_metadata_set.py Add "validation" arg in JSONSerializer 2022-02-28 14:42:06 +02:00
test_updater_consistent_snapshot.py Fix linter errors in tests 2021-12-15 12:14:20 +02:00
test_updater_delegation_graphs.py Add tuf/api/exceptions.py 2022-01-19 16:52:19 +02:00
test_updater_fetch_target.py Add tuf/api/exceptions.py 2022-01-19 16:52:19 +02:00
test_updater_key_rotations.py Add tuf/api/exceptions.py 2022-01-19 16:52:19 +02:00
test_updater_ng.py test: stop using unittest_toolbox in new tests 2022-01-24 13:54:13 +01:00
test_updater_top_level_update.py Fix expired metadata tests 2022-03-18 19:53:50 +02:00
test_utils.py test: drop legacy tests and test tooling 2022-01-26 15:13:17 +01:00
utils.py test: drop usage of custom log module in new test 2022-01-26 14:54:43 +01:00