mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
fix cert names for asyncio test
This commit is contained in:
parent
6d8c1abb00
commit
c9a87e6bbe
1 changed files with 2 additions and 2 deletions
|
@ -95,8 +95,8 @@ def run_test_server(*, host='127.0.0.1', port=0, use_ssl=False):
|
||||||
if not os.path.isdir(here):
|
if not os.path.isdir(here):
|
||||||
here = os.path.join(os.path.dirname(os.__file__),
|
here = os.path.join(os.path.dirname(os.__file__),
|
||||||
'test', 'test_asyncio')
|
'test', 'test_asyncio')
|
||||||
keyfile = os.path.join(here, 'sample.key')
|
keyfile = os.path.join(here, 'ssl_key.pem')
|
||||||
certfile = os.path.join(here, 'sample.crt')
|
certfile = os.path.join(here, 'ssl_cert.pem')
|
||||||
ssock = ssl.wrap_socket(request,
|
ssock = ssl.wrap_socket(request,
|
||||||
keyfile=keyfile,
|
keyfile=keyfile,
|
||||||
certfile=certfile,
|
certfile=certfile,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue