python-tuf/tests
Sebastien Awwad b163caa29b
Test: add https test with expired server certificate
in test_download.py. In the process, added another test cert
and generalized the server process killer in test_download.py.

Additionally, I added another expected-to-be-good certificate
that was generated in the same way as the new bad certificates
(but for their individual flaws of course). This is because
the new certs aren't exactly like the old good cert, so that
we have another cert to test against in case the way the
certs were generated turns out to matter at some point in the
future.

Also slightly increased a start-servers delay in the test
in response to one test system taking too long and seeing
connection issues. Probably not helped by the number of
processes. Clarified a related comment in the test code.

Also made a note that environment variable cleanup would be
good to add to test_download.py, either copied from or moved
somewhere accessible from test_proxy_use.py

Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
2018-09-26 14:15:36 -04:00
..
repository_data Edit test repo scripts to exclude target files with leading os.sep 2018-04-06 11:08:45 -04:00
ssl_certs Test: add https test with expired server certificate 2018-09-26 14:15:36 -04:00
.coveragerc Ignore coverage with command-line scripts 2018-01-29 10:18:42 -05:00
__init__.py Support ISO 8601, vendor iso8601, clean codebase. 2014-04-19 14:27:53 -04:00
aggregate_tests.py Test: try download.py through via various proxies 2018-09-21 13:13:45 -04:00
proxy_server.py Test: adjust proxy_server.py argument handling: 2018-09-26 13:10:17 -04: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 Rename license files in modules 2018-02-05 11:31:19 -05:00
slow_retrieval_server.py DOC: Clarify and correct comments on download timeouts 2018-09-10 16:30:32 -04:00
test_arbitrary_package_attack.py Modify URL comparison in test_arbitrary_package_attack.py 2018-04-20 10:58:23 -04:00
test_developer_tool.py Modify test condition for OSError 2018-04-27 13:36:16 -04:00
test_download.py Test: add https test with expired server certificate 2018-09-26 14:15:36 -04:00
test_endless_data_attack.py Fix 'IOError: [Error 0] Error' exception raised in test_endless_data_attack.py 2018-04-23 11:51:01 -04:00
test_exceptions.py Rename license files in modules 2018-02-05 11:31:19 -05:00
test_extraneous_dependencies_attack.py Modify URL comparison in test_extraneous_dependencies_attack.py 2018-04-20 10:58:57 -04:00
test_formats.py Rename license files in modules 2018-02-05 11:31:19 -05:00
test_indefinite_freeze_attack.py Merge branch 'develop' into edit_comment_test_indefinite 2018-06-12 09:19:26 -04:00
test_init.py Rename license files in modules 2018-02-05 11:31:19 -05:00
test_key_revocation_integration.py Fix test_key_revocation_integration following change to repo_lib.py 2018-04-26 13:49:24 -04:00
test_keydb.py Rename license files in modules 2018-02-05 11:31:19 -05:00
test_log.py Make sure the default log file doesn't exist prior to test condition 2018-06-18 10:42:09 -04:00
test_mirrors.py Minor cosmetic change to URL creation 2018-04-20 10:57:30 -04:00
test_mix_and_match_attack.py Modify URL comparison in test_mix_and_match_attack.py 2018-04-20 10:59:24 -04:00
test_multiple_repositories_integration.py Fix test_multiple_repositories_integration and edit whitespace in updater.py 2018-06-11 10:02:11 -04:00
test_proxy_use.py Test: rename proxy2.py as proxy_server.py 2018-09-25 15:36:43 -04:00
test_replay_attack.py Modify URL comparison in test_replay_attack.py 2018-04-20 10:59:43 -04:00
test_repository_lib.py Do not test for an invalid consistent method in Windows 2018-04-27 15:43:55 -04:00
test_repository_tool.py Fix test that failed to detect issue with get_filepaths_in_directory 2018-08-21 12:30:25 -04:00
test_roledb.py Rename license files in modules 2018-02-05 11:31:19 -05:00
test_root_versioning_integration.py Update unit tests affected by change to target filepaths 2018-04-06 13:18:33 -04:00
test_sig.py Rename license files in modules 2018-02-05 11:31:19 -05:00
test_slow_retrieval_attack.py DOC: Clarify and correct comments on download timeouts 2018-09-10 16:30:32 -04:00
test_unittest_toolbox.py Rename license files in modules 2018-02-05 11:31:19 -05:00
test_updater.py Kill subprocess in a few unit tests 2018-05-02 15:31:06 -04:00
test_updater_root_rotation_integration.py Fix test_updater_root_rotation_integration following change to repo_lib.py 2018-04-26 13:47:55 -04:00