python-tuf/tests
Teodora Sechkova fe439d2014
Fix passing dictionaries by reference in TestMetadata
Use deepcopy to ensure that the dictionaries with expected data
are not referencing the same memory as the tested ones.

Add a check asserting that metadata is not equal prior to its
update.

Signed-off-by: Teodora Sechkova <tsechkova@vmware.com>
2020-11-09 11:38:25 +02:00
..
repository_data Remove redundant test logic 2020-05-12 22:16:38 +01:00
ssl_certs Test: add https test with expired server certificate 2018-09-26 14:15:36 -04:00
.coveragerc Move omit to run section in .coveragerc 2019-07-11 14:32:49 +02:00
__init__.py Support ISO 8601, vendor iso8601, clean codebase. 2014-04-19 14:27:53 -04:00
aggregate_tests.py Simplify aggregate_tests.py 2020-10-30 17:16:39 +02:00
proxy_server.py tests: Use localhost consistently 2020-08-10 16:11:33 +03:00
simple_https_server.py Remove unneceserry checks in server files 2020-10-01 12:22:19 +03:00
simple_server.py Remove unneceserry checks in server files 2020-10-01 12:22:19 +03:00
slow_retrieval_server.py Remove a not used function 2020-10-01 12:22:19 +03:00
test_api.py Fix passing dictionaries by reference in TestMetadata 2020-11-09 11:38:25 +02:00
test_arbitrary_package_attack.py Make confined_target_dirs optional field 2020-10-16 15:35:24 +03:00
test_developer_tool.py Remove redundant comments from test classes 2020-10-01 12:22:19 +03:00
test_download.py tests: Filter useless warnings 2020-10-09 12:10:49 +03:00
test_endless_data_attack.py Make confined_target_dirs optional field 2020-10-16 15:35:24 +03:00
test_extraneous_dependencies_attack.py Make confined_target_dirs optional field 2020-10-16 15:35:24 +03:00
test_formats.py Make confined_target_dirs optional field 2020-10-16 15:35:24 +03:00
test_indefinite_freeze_attack.py tests: Use version specific import for mock 2020-10-30 13:10:06 +02:00
test_key_revocation_integration.py Make confined_target_dirs optional field 2020-10-16 15:35:24 +03:00
test_keydb.py tests: Configure logging for all test files 2020-09-15 21:36:50 +03:00
test_log.py tests: Configure logging for all test files 2020-09-15 21:36:50 +03:00
test_mirrors.py Add test if confined_target_dirs is [''] 2020-10-16 16:10:05 +03:00
test_mix_and_match_attack.py Make confined_target_dirs optional field 2020-10-16 15:35:24 +03:00
test_multiple_repositories_integration.py Make confined_target_dirs optional field 2020-10-16 15:35:24 +03:00
test_proxy_use.py Simplify aggregate_tests.py 2020-10-30 17:16:39 +02:00
test_replay_attack.py Make confined_target_dirs optional field 2020-10-16 15:35:24 +03:00
test_repository_lib.py Update test_repository_lib and test_formats 2020-10-02 16:05:12 +03:00
test_repository_tool.py Remove redundant comments from test classes 2020-10-01 12:22:19 +03:00
test_roledb.py tests: Configure logging for all test files 2020-09-15 21:36:50 +03:00
test_root_versioning_integration.py tests: Configure logging for all test files 2020-09-15 21:36:50 +03:00
test_sig.py tests: Configure logging for all test files 2020-09-15 21:36:50 +03:00
test_slow_retrieval_attack.py Make confined_target_dirs optional field 2020-10-16 15:35:24 +03:00
test_tutorial.py Make unit test files executable 2020-10-05 10:36:31 +01:00
test_unittest_toolbox.py tests: Configure logging for all test files 2020-09-15 21:36:50 +03:00
test_updater.py Make confined_target_dirs optional field 2020-10-16 15:35:24 +03:00
test_updater_root_rotation_integration.py Make confined_target_dirs optional field 2020-10-16 15:35:24 +03:00
utils.py tests: Filter useless warnings 2020-10-09 12:10:49 +03:00