diff options
author | Edi Feschiyan <edi.feschiyan@konsulko.com> | 2020-06-24 20:01:26 +0300 |
---|---|---|
committer | Edi Feschiyan <edi.feschiyan@konsulko.com> | 2020-06-24 20:01:26 +0300 |
commit | 434bcef7a61db661a5c0579746788ffb86904089 (patch) | |
tree | 8ca0e232c1fe34ec7d01c0430d00e7b938512d28 /templates/{{cookiecutter.tests_dir}} | |
parent | 4f89ab88c04333d97dd2ee4a588303c07e55b7c5 (diff) |
Adding bluetooth pbap service and tests
Diffstat (limited to 'templates/{{cookiecutter.tests_dir}}')
-rw-r--r-- | templates/{{cookiecutter.tests_dir}}/test_{{cookiecutter.service_slug}}.py | 3 |
1 files changed, 1 insertions, 2 deletions
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() + |