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:
+3
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user