1
0
mirror of https://github.com/home-assistant/core.git synced 2026-05-08 09:38:58 +01:00

Add missing argument type to core tests (#119667)

This commit is contained in:
epenet
2024-06-14 08:42:01 +02:00
committed by GitHub
parent f3ce562847
commit 9f41133bbc
7 changed files with 23 additions and 17 deletions
+3 -1
View File
@@ -647,7 +647,9 @@ async def test_stage_shutdown_timeouts(hass: HomeAssistant) -> None:
assert hass.state is CoreState.stopped
async def test_stage_shutdown_generic_error(hass: HomeAssistant, caplog) -> None:
async def test_stage_shutdown_generic_error(
hass: HomeAssistant, caplog: pytest.LogCaptureFixture
) -> None:
"""Simulate a shutdown, test that a generic error at the final stage doesn't prevent it."""
task = asyncio.Future()