mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
gh-108303: Move all certificates to Lib/test/certdata/
(#109489)
This commit is contained in:
parent
929cc4e4a0
commit
e57ecf6bbc
41 changed files with 31 additions and 28 deletions
|
@ -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 = (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue