From 9327e1374408b8e8a284448371d3d6b80f5a7ae7 Mon Sep 17 00:00:00 2001 From: Dmitry Orlov Date: Wed, 11 Nov 2020 18:29:39 +0300 Subject: [PATCH] close client --- setup.py | 2 +- tests/test_auth.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index cfa8f5a..f04816f 100644 --- a/setup.py +++ b/setup.py @@ -41,7 +41,7 @@ long_description=open("README.rst").read(), packages=find_packages(exclude=["tests", "doc"]), package_data={"wsrpc_aiohttp": ["static/*", "py.typed"]}, - install_requires=["aiohttp<3.7", "yarl"], + install_requires=["aiohttp<4", "yarl"], python_requires=">3.5.*, <4", extras_require={ "ujson": ["ujson"], diff --git a/tests/test_auth.py b/tests/test_auth.py index 660f264..0049e02 100644 --- a/tests/test_auth.py +++ b/tests/test_auth.py @@ -29,3 +29,4 @@ async def test_auth_fail(client: WSRPCClient, handler): async def test_auth_ok(client: WSRPCClient, handler): handler.AUTHORIZE = True await client.connect() + await client.close()