From 2b3247b3df7fcf3e87d804a84c1fb6019a32b8b3 Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Wed, 18 Sep 2024 22:35:15 +0100 Subject: [PATCH] remove redundant load_cert_chain --- tests/integration/test_aiohttp.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/integration/test_aiohttp.py b/tests/integration/test_aiohttp.py index fab8bdfb..ba8a7e37 100644 --- a/tests/integration/test_aiohttp.py +++ b/tests/integration/test_aiohttp.py @@ -14,11 +14,8 @@ from .aiohttp_utils import aiohttp_app, aiohttp_request # noqa: E402 ssl_ca_location = os.environ["REQUESTS_CA_BUNDLE"] -ssl_cert_location = os.environ["REQUESTS_CA_BUNDLE"].replace("cacert.pem", "cert.pem") -ssl_key_location = os.environ["REQUESTS_CA_BUNDLE"].replace("cacert.pem", "key.pem") HTTPBIN_SSL_CONTEXT = ssl.create_default_context(cafile=ssl_ca_location) -HTTPBIN_SSL_CONTEXT.load_cert_chain(ssl_cert_location, ssl_key_location) def run_in_loop(fn):