From 0a598d46a841b72ab870e9b07cd51e226de66020 Mon Sep 17 00:00:00 2001 From: merlinz01 <158784988+merlinz01@users.noreply.github.com> Date: Thu, 14 Nov 2024 16:55:04 -0500 Subject: [PATCH] Fix formatting Signed-off-by: merlinz01 <158784988+merlinz01@users.noreply.github.com> --- test_opensearchpy/test_async/test_connection.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test_opensearchpy/test_async/test_connection.py b/test_opensearchpy/test_async/test_connection.py index 6d58ca5e..9ad21b5d 100644 --- a/test_opensearchpy/test_async/test_connection.py +++ b/test_opensearchpy/test_async/test_connection.py @@ -102,13 +102,12 @@ async def test_ssl_assert_hostname(self) -> None: await con._create_aiohttp_session() assert con.use_ssl assert con.session.connector._ssl.check_hostname is True - + con = AIOHttpConnection(use_ssl=True, ssl_assert_hostname=False) await con._create_aiohttp_session() assert con.use_ssl assert con.session.connector._ssl.check_hostname is False - async def test_opaque_id(self) -> None: con = AIOHttpConnection(opaque_id="app-1") assert con.headers["x-opaque-id"] == "app-1"