From 86359c606aeef1df6f9d509875672eb81fc3f11c Mon Sep 17 00:00:00 2001 From: sheldy Date: Sun, 24 Nov 2024 14:17:05 +0100 Subject: [PATCH] pre-commit --- tests/brokers/base/middlewares.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/brokers/base/middlewares.py b/tests/brokers/base/middlewares.py index 3f8b3e8f74..d16c4861ea 100644 --- a/tests/brokers/base/middlewares.py +++ b/tests/brokers/base/middlewares.py @@ -111,9 +111,7 @@ async def handler(msg): assert [c.args[0] for c in mock.call_args_list] == ["outer", "middle", "inner"] - async def test_publisher_with_router_middleware_order( - self, queue: str, mock: Mock - ): + async def test_publisher_with_router_middleware_order(self, queue: str, mock: Mock): class InnerMiddleware(BaseMiddleware): async def publish_scope(self, call_next, msg, *args, **kwargs): mock.publish_inner() @@ -238,6 +236,7 @@ async def handler(msg): assert [c.args[0] for c in mock.call_args_list] == ["outer", "middle", "inner"] + @pytest.mark.asyncio class LocalMiddlewareTestcase(BaseTestcaseConfig): broker_class: Type[BrokerUsecase]