mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-07 09:41:39 +01:00
13 lines
532 B
Diff
13 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()
|