python-tuf/tests
Lukas Puehringer 1897f9a652 ngclient: change envelope type config to flag
The flag allows adding other envelope types in the future (unlikely),
or parallel support (`METADATA & SIMPLE`) without breaking the API.

Internally, the flag is now just passed on to TrustedMetadataSet as
mandatory parameter. (Optional parameters make less sense when we
control all the invocations.)

This change requires updating all invocations of TrustedMetadataSet,
including the duplication of a test function.

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2024-02-21 16:59:55 +01:00
..
generated_data tests, examples: Stop using Key constructors 2023-01-17 14:31:22 +02:00
repository_data tests: remove unused and obsolete test metadata 2023-10-11 15:09:09 +02: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 remove pylint and suppressed inline errors from pylint 2024-02-20 22:57:53 -05:00
simple_server.py tests: Remove unused options from simple_server 2022-01-21 11:31:09 +02:00
test_api.py remove pylint and suppressed inline errors from pylint 2024-02-20 22:57:53 -05:00
test_examples.py remove pylint and suppressed inline errors from pylint 2024-02-20 22:57:53 -05:00
test_fetcher_ng.py Make RequestsFetcher public 2023-01-25 15:55:11 +02:00
test_metadata_eq_.py remove pylint and suppressed inline errors from pylint 2024-02-20 22:57:53 -05:00
test_metadata_generation.py Provide a way to generate a simple repository 2022-03-22 18:13:54 +02:00
test_metadata_serialization.py remove pylint and suppressed inline errors from pylint 2024-02-20 22:57:53 -05:00
test_trusted_metadata_set.py ngclient: change envelope type config to flag 2024-02-21 16:59:55 +01:00
test_updater_consistent_snapshot.py remove pylint and suppressed inline errors from pylint 2024-02-20 22:57:53 -05:00
test_updater_delegation_graphs.py remove pylint and suppressed inline errors from pylint 2024-02-20 22:57:53 -05:00
test_updater_fetch_target.py remove pylint and suppressed inline errors from pylint 2024-02-20 22:57:53 -05:00
test_updater_key_rotations.py remove pylint and suppressed inline errors from pylint 2024-02-20 22:57:53 -05:00
test_updater_ng.py ngclient: use Unwrapper in TrustedMetadataSet 2024-02-21 16:24:29 +01:00
test_updater_top_level_update.py remove pylint and suppressed inline errors from pylint 2024-02-20 22:57:53 -05:00
test_updater_validation.py remove pylint and suppressed inline errors from pylint 2024-02-20 22:57:53 -05:00
test_utils.py remove pylint and suppressed inline errors from pylint 2024-02-20 22:57:53 -05:00
utils.py remove pylint and suppressed inline errors from pylint 2024-02-20 22:57:53 -05:00