From 496aa9f312ad9092cb5f29e9e0d61e557636804d Mon Sep 17 00:00:00 2001 From: sanderegg <35365065+sanderegg@users.noreply.github.com> Date: Thu, 28 Nov 2024 16:54:03 +0100 Subject: [PATCH] follow syntax --- .../tests/unit/with_dbs/comp_scheduler/test_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/director-v2/tests/unit/with_dbs/comp_scheduler/test_manager.py b/services/director-v2/tests/unit/with_dbs/comp_scheduler/test_manager.py index 2880e91c022..f70070a325f 100644 --- a/services/director-v2/tests/unit/with_dbs/comp_scheduler/test_manager.py +++ b/services/director-v2/tests/unit/with_dbs/comp_scheduler/test_manager.py @@ -49,7 +49,7 @@ async def scheduler_rabbit_client_parser( ) -> AsyncIterator[mock.AsyncMock]: client = create_rabbitmq_client("scheduling_pytest_consumer") mock = mocker.AsyncMock(return_value=True) - queue_name = await client.subscribe( + queue_name, _ = await client.subscribe( SchedulePipelineRabbitMessage.get_channel_name(), mock, exclusive_queue=False ) yield mock