Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 30, 2021
1 parent 293319a commit 0aa61e8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_proxy_functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import aiohttp
from aiohttp import web


# @pytest.fixture
# def secure_proxy_url(
# aiohttp_unused_port, tls_ca_certificate_pem_path, tls_ca_private_key_pem_path
Expand All @@ -38,7 +37,8 @@

@pytest.fixture
def secure_proxy_url(
aiohttp_unused_port, tls_certificate,
aiohttp_unused_port,
tls_certificate,
):
"""Return the an instance of a running secure proxy."""
unused_port = str(aiohttp_unused_port())
Expand Down Expand Up @@ -118,6 +118,7 @@ async def handler(*args, **kwargs):
url = "https://httpbin.org/get"
# secure_proxy_url = "https://127.0.0.1:8899"
import logging

logging.getLogger().info(f"secure_proxy_url: {secure_proxy_url}")
with tls_certificate_authority.cert_pem.tempfile() as tt:
logging.getLogger().info(f"path to client CA file: {tt}")
Expand Down

0 comments on commit 0aa61e8

Please sign in to comment.