From d3b6179741fd98b97342716a766af8ece5c8343d Mon Sep 17 00:00:00 2001 From: ludeeus Date: Tue, 5 Dec 2023 11:47:34 +0000 Subject: [PATCH] Mock wait_for_close in AiohttpClientMockResponse --- tests/utils/aiohttp.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/utils/aiohttp.py b/tests/utils/aiohttp.py index 92a769e02..7d363273b 100644 --- a/tests/utils/aiohttp.py +++ b/tests/utils/aiohttp.py @@ -239,6 +239,9 @@ def raise_for_status(self): def close(self): """Mock close.""" + async def wait_for_close(self): + """Mock wait_for_close.""" + @contextmanager def mock_aiohttp_client(loop):