Skip to content

Commit 5ef2219

Browse files
committed
fixed failing test
1 parent 7b5d60b commit 5ef2219

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_modules/test_module_startup_shutdown.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ async def on_shutdown(self) -> None:
2929

3030

3131
@asynccontextmanager
32-
async def testing_life_span(app):
32+
async def _testing_life_span(app):
3333
yield {"life_span_testing": "Ellar"}
3434

3535

3636
tm = Test.create_test_module(
3737
modules=[OnShutdownModule, OnStartupModule],
38-
config_module=dict(DEFAULT_LIFESPAN_HANDLER=testing_life_span),
38+
config_module=dict(DEFAULT_LIFESPAN_HANDLER=_testing_life_span),
3939
)
4040

4141

0 commit comments

Comments
 (0)