@@ -314,7 +314,7 @@ async def _always_returning_fail(_: Any) -> bool:
314314
315315
316316@pytest .mark .parametrize ("topics" , _TOPICS )
317- @pytest .mark .no_cleanup_check_rabbitmq_server_has_no_errors ()
317+ @pytest .mark .no_cleanup_check_rabbitmq_server_has_no_errors
318318async def test_publish_with_no_registered_subscriber (
319319 on_message_spy : mock .Mock ,
320320 create_rabbitmq_client : Callable [[str ], RabbitMQClient ],
@@ -476,7 +476,7 @@ def _raise_once_then_true(*args, **kwargs):
476476
477477@pytest .fixture
478478async def ensure_queue_deletion (
479- create_rabbitmq_client : Callable [[str ], RabbitMQClient ]
479+ create_rabbitmq_client : Callable [[str ], RabbitMQClient ],
480480) -> AsyncIterator [Callable [[QueueName ], None ]]:
481481 created_queues = set ()
482482
@@ -723,7 +723,7 @@ async def test_rabbit_adding_topics_to_a_fanout_exchange(
723723 await _assert_message_received (mocked_message_parser , 0 )
724724
725725
726- @pytest .mark .no_cleanup_check_rabbitmq_server_has_no_errors ()
726+ @pytest .mark .no_cleanup_check_rabbitmq_server_has_no_errors
727727async def test_rabbit_not_using_the_same_exchange_type_raises (
728728 create_rabbitmq_client : Callable [[str ], RabbitMQClient ],
729729 random_exchange_name : Callable [[], str ],
@@ -738,7 +738,7 @@ async def test_rabbit_not_using_the_same_exchange_type_raises(
738738 await client .subscribe (exchange_name , mocked_message_parser , topics = [])
739739
740740
741- @pytest .mark .no_cleanup_check_rabbitmq_server_has_no_errors ()
741+ @pytest .mark .no_cleanup_check_rabbitmq_server_has_no_errors
742742async def test_unsubscribe_consumer (
743743 create_rabbitmq_client : Callable [[str ], RabbitMQClient ],
744744 random_exchange_name : Callable [[], str ],
0 commit comments