Skip to content

Commit

Permalink
fixed after new syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderegg committed Nov 26, 2024
1 parent 195a1a3 commit aab6aab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aab6aab

Please sign in to comment.