Skip to content

Commit

Permalink
remove redundant load_cert_chain
Browse files Browse the repository at this point in the history
  • Loading branch information
graingert committed Sep 18, 2024
1 parent d123a5e commit 2b3247b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/integration/test_aiohttp.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 2b3247b

Please sign in to comment.