python-tuf/tests
Jussi Kukkonen b5a3c705db Avoid leaving unclosed file objects
* move code to only create objects after potential raises
* Use 'with' when possible
* close manually if those did not help

Signed-off-by: Jussi Kukkonen <jkukkonen@vmware.com>
2020-09-22 14:22:46 +03: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 Install TUF in editable mode in tox builds 2019-07-11 14:32:49 +02:00
proxy_server.py tests: Use localhost consistently 2020-08-10 16:11:33 +03:00
simple_https_server.py Test: add proxy certs and reorganize certs in test data dir 2018-09-21 13:13:52 -04:00
simple_server.py tests: Remove unused imports 2020-08-10 16:11:33 +03:00
slow_retrieval_server.py DOC: Clarify and correct comments on download timeouts 2018-09-10 16:30:32 -04:00
test_api.py Raise on bad signature count in Metadata.verify 2020-09-10 16:18:28 +02:00
test_arbitrary_package_attack.py tests: Remove unused imports 2020-08-10 16:11:33 +03:00
test_developer_tool.py tests: Remove unused imports 2020-08-10 16:11:33 +03:00
test_download.py Avoid leaving unclosed file objects 2020-09-22 14:22:46 +03:00
test_endless_data_attack.py tests: Remove unused imports 2020-08-10 16:11:33 +03:00
test_exceptions.py Use __name__ for loggers, per convention 2020-03-03 10:36:39 +00:00
test_extraneous_dependencies_attack.py tests: Remove unused imports 2020-08-10 16:11:33 +03:00
test_formats.py Separate targets and snapshot/timestamp schemas 2020-07-24 19:43:51 +03:00
test_indefinite_freeze_attack.py tests: Remove unused imports 2020-08-10 16:11:33 +03:00
test_init.py Use __name__ for loggers, per convention 2020-03-03 10:36:39 +00:00
test_key_revocation_integration.py tests: Remove unused imports 2020-08-10 16:11:33 +03:00
test_keydb.py Apply suggestions from code review 2020-07-28 06:54:14 -07:00
test_log.py Use __name__ for loggers, per convention 2020-03-03 10:36:39 +00:00
test_mirrors.py tests: Remove unused imports 2020-08-10 16:11:33 +03:00
test_mix_and_match_attack.py tests: Remove unused imports 2020-08-10 16:11:33 +03:00
test_multiple_repositories_integration.py tests: Remove unused imports 2020-08-10 16:11:33 +03:00
test_proxy_use.py tests: Remove unused imports 2020-08-10 16:11:33 +03:00
test_replay_attack.py tests: Remove unused imports 2020-08-10 16:11:33 +03:00
test_repository_lib.py Add test for delegations update 2020-08-26 13:53:51 +03:00
test_repository_tool.py tests: Remove unused imports 2020-08-10 16:11:33 +03:00
test_roledb.py Use __name__ for loggers, per convention 2020-03-03 10:36:39 +00:00
test_root_versioning_integration.py tests: Remove unused imports 2020-08-10 16:11:33 +03:00
test_sig.py Each key applies to signature threshold once 2020-07-28 12:44:21 -07:00
test_slow_retrieval_attack.py tests: Wait for subprocess kill() to happen 2020-08-04 16:15:05 +03:00
test_tutorial.py Update TUTORIAL and test_tutorial 2020-04-08 18:58:27 +03:00
test_unittest_toolbox.py Use __name__ for loggers, per convention 2020-03-03 10:36:39 +00:00
test_updater.py Avoid leaving unclosed file objects 2020-09-22 14:22:46 +03:00
test_updater_root_rotation_integration.py Add updater tests for root signed with current keys 2020-08-18 21:48:39 +01:00
utils.py tests: increase wait_for_server() default timeout 2020-08-10 16:11:33 +03:00