From e44030b95a52b2e12db9bb6306e6e30c36c0acae Mon Sep 17 00:00:00 2001 From: Motov Yurii <109919500+YuriiMotov@users.noreply.github.com> Date: Tue, 22 Jul 2025 19:24:01 +0200 Subject: [PATCH] Fix test --- tests/test_endpoint_with_async_class_decorator.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_endpoint_with_async_class_decorator.py b/tests/test_endpoint_with_async_class_decorator.py index c75823b18..da322ef66 100644 --- a/tests/test_endpoint_with_async_class_decorator.py +++ b/tests/test_endpoint_with_async_class_decorator.py @@ -13,6 +13,8 @@ class SomeDecorator: return await self.route(*args, **kwargs) +app = FastAPI() + @app.get("/") @SomeDecorator async def route1():