From 70fb78075f210534e69b85f8a84cea4b4d9f5434 Mon Sep 17 00:00:00 2001 From: sanderegg <35365065+sanderegg@users.noreply.github.com> Date: Tue, 26 Nov 2024 14:48:14 +0100 Subject: [PATCH] cleanup --- .../pytest-simcore/src/pytest_simcore/rabbit_service.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/packages/pytest-simcore/src/pytest_simcore/rabbit_service.py b/packages/pytest-simcore/src/pytest_simcore/rabbit_service.py index 19d600a2536..d8dc38feb09 100644 --- a/packages/pytest-simcore/src/pytest_simcore/rabbit_service.py +++ b/packages/pytest-simcore/src/pytest_simcore/rabbit_service.py @@ -1,6 +1,7 @@ # pylint: disable=redefined-outer-name # pylint: disable=unused-argument # pylint: disable=unused-variable +# pylint: disable=protected-access import asyncio import logging @@ -130,10 +131,3 @@ async def _creator(client_name: str, *, heartbeat: int = 60) -> RabbitMQRPCClien yield _creator # cleanup, properly close the clients await asyncio.gather(*(client.close() for client in created_clients)) - - -async def rabbitmq_client(create_rabbitmq_client): - # NOTE: Legacy fixture - # Use create_rabbitmq_client instead of rabbitmq_client - # SEE docs/coding-conventions.md::CC4 - return create_rabbitmq_client