1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Add type hints to integration tests (part 3) (#87844)

This commit is contained in:
epenet
2023-02-10 16:05:01 +01:00
committed by GitHub
parent 22bfb99db4
commit fa7acb4f0d
50 changed files with 745 additions and 386 deletions

View File

@@ -104,7 +104,7 @@ async def test_get_triggers_hidden_auxiliary(
assert_lists_same(triggers, expected_triggers)
async def test_if_fires_on_state_change(hass, calls):
async def test_if_fires_on_state_change(hass: HomeAssistant, calls) -> None:
"""Test for turn_on and turn_off triggers firing."""
hass.states.async_set("button.entity", "unknown")