mirror of
https://github.com/home-assistant/core.git
synced 2025-11-16 14:30:22 +00:00
Add type hints to integration tests (part 2) (#88493)
This commit is contained in:
@@ -51,7 +51,7 @@ async def test_if_fires_on_hass_start(
|
||||
assert calls[0].data["id"] == 0
|
||||
|
||||
|
||||
async def test_if_fires_on_hass_shutdown(hass):
|
||||
async def test_if_fires_on_hass_shutdown(hass: HomeAssistant) -> None:
|
||||
"""Test the firing when Home Assistant shuts down."""
|
||||
calls = async_mock_service(hass, "test", "automation")
|
||||
hass.state = CoreState.not_running
|
||||
|
||||
Reference in New Issue
Block a user