From 55134e23ea780cc908998a0602af04b065074bd8 Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Fri, 21 Jun 2024 11:56:52 +0200 Subject: [PATCH] Add type hints in automation tests (#120077) --- tests/components/automation/test_init.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/components/automation/test_init.py b/tests/components/automation/test_init.py index 7619589d52a..0c300540644 100644 --- a/tests/components/automation/test_init.py +++ b/tests/components/automation/test_init.py @@ -1697,11 +1697,11 @@ async def test_automation_bad_config_validation( hass: HomeAssistant, hass_ws_client: WebSocketGenerator, caplog: pytest.LogCaptureFixture, - hass_admin_user, - broken_config, - problem, - details, - issue, + hass_admin_user: MockUser, + broken_config: dict[str, Any], + problem: str, + details: str, + issue: str, ) -> None: """Test bad automation configuration which can be detected during validation.""" assert await async_setup_component(