python-tuf/tests
Jussi Kukkonen 8ed4414946 Fix incorrect targetpath comparison on Windows
fnmatch() will do case-normalization if the OS expects it:
we do not want this as
* the path is more a URL than a file path
* results need to not change based on OS

Fix the result on Windows by using fnmatchcase()

Signed-off-by: Jussi Kukkonen <jkukkonen@google.com>
2026-04-21 12:27:16 +03:00
..
generated_data tests: Simplify test data generation 2024-12-11 10:11:55 +02:00
repository_data tests: Remove unused test files 2025-01-17 11:11:26 +02:00
__init__.py lint: Enable flake8-executable 2024-05-06 09:19:19 +03:00
repository_simulator.py feat(ngclient): require explicit bootstrap argument 2026-01-25 11:58:09 +00:00
simple_server.py Fix typos 2025-03-10 22:06:30 +01:00
test_api.py Fix incorrect targetpath comparison on Windows 2026-04-21 12:27:16 +03:00
test_examples.py Fix typos 2025-03-10 22:06:30 +01:00
test_fetcher_ng.py Make linter happy after python upgrade 2026-01-08 13:08:53 +02:00
test_metadata_eq_.py Fix typos 2025-03-10 22:06:30 +01:00
test_metadata_generation.py tests: Simplify test data generation 2024-12-11 10:11:55 +02:00
test_metadata_serialization.py Use __future.annotations module 2024-11-29 12:41:09 +02:00
test_proxy_environment.py ProxyEnvironment: Handle no_proxy="*" 2025-02-20 10:56:23 +02:00
test_repository.py Fix typos 2025-03-10 22:06:30 +01:00
test_trusted_metadata_set.py Make linter happy after python upgrade 2026-01-08 13:08:53 +02:00
test_updater_consistent_snapshot.py address review feedback: remove redundant root.json writes, rename docs section 2026-02-19 14:46:40 +01:00
test_updater_delegation_graphs.py address review feedback: remove redundant root.json writes, rename docs section 2026-02-19 14:46:40 +01:00
test_updater_fetch_target.py address review feedback: remove redundant root.json writes, rename docs section 2026-02-19 14:46:40 +01:00
test_updater_key_rotations.py address review feedback: remove redundant root.json writes, rename docs section 2026-02-19 14:46:40 +01:00
test_updater_ng.py address review feedback: remove redundant root.json writes, rename docs section 2026-02-19 14:46:40 +01:00
test_updater_top_level_update.py Fix typos 2025-03-10 22:06:30 +01:00
test_updater_validation.py address review feedback: remove redundant root.json writes, rename docs section 2026-02-19 14:46:40 +01:00
test_utils.py tests: Make sure tests can execute from root source dir 2024-12-11 10:11:55 +02:00
utils.py tests: Keep linter happy 2026-02-17 12:15:12 +02:00