diff options
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() + |