gh-108303: Move all certificates to Lib/test/certdata/ (#109489)

This commit is contained in:
Nikita Sobolev 2023-09-16 19:47:18 +03:00 committed by GitHub
parent 929cc4e4a0
commit e57ecf6bbc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
41 changed files with 31 additions and 28 deletions

View file

@ -325,8 +325,8 @@ class DummyFTPServer(asyncore.dispatcher, threading.Thread):
if ssl is not None:
CERTFILE = os.path.join(os.path.dirname(__file__), "keycert3.pem")
CAFILE = os.path.join(os.path.dirname(__file__), "pycacert.pem")
CERTFILE = os.path.join(os.path.dirname(__file__), "certdata", "keycert3.pem")
CAFILE = os.path.join(os.path.dirname(__file__), "certdata", "pycacert.pem")
class SSLConnection(asyncore.dispatcher):
"""An asyncore.dispatcher subclass supporting TLS/SSL."""