summaryrefslogtreecommitdiffstats
path: root/templates/{{cookiecutter.tests_dir}}/test_{{cookiecutter.service_slug}}.py
diff options
context:
space:
mode:
authorEdi Feschiyan <edi.feschiyan@konsulko.com>2020-06-24 20:01:26 +0300
committerEdi Feschiyan <edi.feschiyan@konsulko.com>2020-06-24 20:01:26 +0300
commit434bcef7a61db661a5c0579746788ffb86904089 (patch)
tree8ca0e232c1fe34ec7d01c0430d00e7b938512d28 /templates/{{cookiecutter.tests_dir}}/test_{{cookiecutter.service_slug}}.py
parent4f89ab88c04333d97dd2ee4a588303c07e55b7c5 (diff)
Adding bluetooth pbap service and tests
Diffstat (limited to 'templates/{{cookiecutter.tests_dir}}/test_{{cookiecutter.service_slug}}.py')
-rw-r--r--templates/{{cookiecutter.tests_dir}}/test_{{cookiecutter.service_slug}}.py3
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()
+