mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-19 17:25:17 +03:00
12 lines
532 B
Diff
12 lines
532 B
Diff
diff --git a/tests/test_lifespan.py b/tests/test_lifespan.py
|
|
index 150ace8..0168029 100644
|
|
--- a/tests/test_lifespan.py
|
|
+++ b/tests/test_lifespan.py
|
|
@@ -33,6 +33,6 @@ async def test_lifespan():
|
|
if scope["type"] == "lifespan":
|
|
lifecycle_handler.handle()
|
|
|
|
- test_app = ConnexionMiddleware(check_lifecycle)
|
|
+ test_app = ConnexionMiddleware(check_lifecycle, import_name="connexion")
|
|
await test_app({"type": "lifespan"}, mock.AsyncMock(), mock.AsyncMock())
|
|
lifecycle_handler.handle.assert_called()
|