diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2023-09-16 19:47:18 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-16 18:47:18 +0200 |
commit | e57ecf6bbc59f999d27b125ea51b042c24a07bd9 (patch) | |
tree | eee25e43586f414e46daf2933678c435aa77de90 /Lib/test/test_httplib.py | |
parent | 929cc4e4a0999b777e1aa94f9c007db720e67f43 (diff) | |
download | cpython-e57ecf6bbc59f999d27b125ea51b042c24a07bd9.tar.gz cpython-e57ecf6bbc59f999d27b125ea51b042c24a07bd9.zip |
gh-108303: Move all certificates to `Lib/test/certdata/` (#109489)
Diffstat (limited to 'Lib/test/test_httplib.py')
-rw-r--r-- | Lib/test/test_httplib.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Lib/test/test_httplib.py b/Lib/test/test_httplib.py index 676725c46ec..5d5832b62b2 100644 --- a/Lib/test/test_httplib.py +++ b/Lib/test/test_httplib.py @@ -21,11 +21,13 @@ support.requires_working_socket(module=True) here = os.path.dirname(__file__) # Self-signed cert file for 'localhost' -CERT_localhost = os.path.join(here, 'keycert.pem') +CERT_localhost = os.path.join(here, 'certdata', 'keycert.pem') # Self-signed cert file for 'fakehostname' -CERT_fakehostname = os.path.join(here, 'keycert2.pem') +CERT_fakehostname = os.path.join(here, 'certdata', 'keycert2.pem') # Self-signed cert file for self-signed.pythontest.net -CERT_selfsigned_pythontestdotnet = os.path.join(here, 'selfsigned_pythontestdotnet.pem') +CERT_selfsigned_pythontestdotnet = os.path.join( + here, 'certdata', 'selfsigned_pythontestdotnet.pem', +) # constants for testing chunked encoding chunked_start = ( |