mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 22:27:07 +00:00
Add type hints in automation tests (#120077)
This commit is contained in:
parent
5cdafba667
commit
55134e23ea
@ -1697,11 +1697,11 @@ async def test_automation_bad_config_validation(
|
|||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
hass_ws_client: WebSocketGenerator,
|
hass_ws_client: WebSocketGenerator,
|
||||||
caplog: pytest.LogCaptureFixture,
|
caplog: pytest.LogCaptureFixture,
|
||||||
hass_admin_user,
|
hass_admin_user: MockUser,
|
||||||
broken_config,
|
broken_config: dict[str, Any],
|
||||||
problem,
|
problem: str,
|
||||||
details,
|
details: str,
|
||||||
issue,
|
issue: str,
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Test bad automation configuration which can be detected during validation."""
|
"""Test bad automation configuration which can be detected during validation."""
|
||||||
assert await async_setup_component(
|
assert await async_setup_component(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user