From aab6aab9b63062bd0faa041aace8f37dafd01954 Mon Sep 17 00:00:00 2001 From: sanderegg <35365065+sanderegg@users.noreply.github.com> Date: Tue, 26 Nov 2024 13:51:25 +0100 Subject: [PATCH] fixed after new 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 2880e91c0228..f70070a325f4 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