Skip to content

Commit

Permalink
test_runserver_with_ssl correction
Browse files Browse the repository at this point in the history
  • Loading branch information
zrvku2000 committed Feb 1, 2025
1 parent d546a21 commit 0aad504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_runserver_with_ssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def get_ssl_context():
for startup in aux_app.on_startup:
loop.run_until_complete(startup(aux_app))

ssl_context = ssl.create_default_context(purpose=ssl.Purpose.CLIENT_AUTH)
ssl_context = ssl.create_default_context()
ssl_context.load_verify_locations('test_certs/rootCA.pem')

async def check_callback(session, ssl_context):
Expand Down

0 comments on commit 0aad504

Please sign in to comment.