Skip to content

Commit 6d03011

Browse files
committed
fix certdata path
1 parent 98c80c6 commit 6d03011

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Lib/test/ssl_servers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
here = os.path.dirname(__file__)
1515

1616
HOST = socket_helper.HOST
17-
CERTFILE = os.path.join(here, 'keycert.pem')
17+
CERTFILE = os.path.join(here, 'certdata/keycert.pem')
1818

1919
# This one's based on HTTPServer, which is based on socketserver
2020

Lib/test/test_httplib.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222

2323
here = os.path.dirname(__file__)
2424
# Self-signed cert file for 'localhost'
25-
CERT_localhost = os.path.join(here, 'keycert.pem')
25+
CERT_localhost = os.path.join(here, 'certdata/keycert.pem')
2626
# Self-signed cert file for 'fakehostname'
27-
CERT_fakehostname = os.path.join(here, 'keycert2.pem')
27+
CERT_fakehostname = os.path.join(here, 'certdata/keycert2.pem')
2828
# Self-signed cert file for self-signed.pythontest.net
29-
CERT_selfsigned_pythontestdotnet = os.path.join(here, 'selfsigned_pythontestdotnet.pem')
29+
CERT_selfsigned_pythontestdotnet = os.path.join(here, 'certdata/selfsigned_pythontestdotnet.pem')
3030

3131
# constants for testing chunked encoding
3232
chunked_start = (

0 commit comments

Comments
 (0)