We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1b9537 commit 4d8a76dCopy full SHA for 4d8a76d
packages/celery-library/tests/conftest.py
@@ -2,6 +2,7 @@
2
# pylint: disable=unused-argument
3
4
import datetime
5
+import threading
6
from collections.abc import AsyncIterator, Callable
7
from functools import partial
8
from typing import Any
@@ -30,10 +31,7 @@
30
31
32
33
class FakeAppServer(BaseAppServer):
- async def on_startup(self) -> None:
34
- pass
35
-
36
- async def on_shutdown(self) -> None:
+ async def lifespan(self, startup_completed_event: threading.Event) -> None:
37
pass
38
39
0 commit comments