From 434bcef7a61db661a5c0579746788ffb86904089 Mon Sep 17 00:00:00 2001 From: Edi Feschiyan Date: Wed, 24 Jun 2020 20:01:26 +0300 Subject: Adding bluetooth pbap service and tests --- .../{{cookiecutter.tests_dir}}/test_{{cookiecutter.service_slug}}.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/{{cookiecutter.tests_dir}}/test_{{cookiecutter.service_slug}}.py b/templates/{{cookiecutter.tests_dir}}/test_{{cookiecutter.service_slug}}.py index e193205..0a93ec0 100644 --- a/templates/{{cookiecutter.tests_dir}}/test_{{cookiecutter.service_slug}}.py +++ b/templates/{{cookiecutter.tests_dir}}/test_{{cookiecutter.service_slug}}.py @@ -12,7 +12,6 @@ pytestmark = pytest.mark.asyncio def event_loop(): loop = asyncio.get_event_loop() yield loop - loop.close() @pytest.fixture(scope='module') async def service(): @@ -20,4 +19,4 @@ async def service(): port = os.environ.get('AGL_TGT_PORT', None) svc = await {{cookiecutter.classname}}(ip=address, port=port) yield svc - await svc.websocket.close() + -- cgit 1.2.3-korg