Browse Source

Fix test

pull/11200/head
Motov Yurii 2 weeks ago
committed by GitHub
parent
commit
e44030b95a
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      tests/test_endpoint_with_async_class_decorator.py

2
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():

Loading…
Cancel
Save