diff --git a/tests/components/config/test_auth.py b/tests/components/config/test_auth.py index b839d2de7a0..c6a9547b451 100644 --- a/tests/components/config/test_auth.py +++ b/tests/components/config/test_auth.py @@ -7,11 +7,13 @@ from homeassistant.components.config import auth as auth_config from homeassistant.core import HomeAssistant from tests.common import CLIENT_ID, MockGroup, MockUser -from tests.typing import WebSocketGenerator +from tests.typing import ClientSessionGenerator, WebSocketGenerator @pytest.fixture(autouse=True) -async def setup_config(hass, aiohttp_client): +async def setup_config( + hass: HomeAssistant, aiohttp_client: ClientSessionGenerator +) -> None: """Fixture that sets up the auth provider homeassistant module.""" auth_config.async_setup(hass) diff --git a/tests/components/config/test_script.py b/tests/components/config/test_script.py index 3c1970a9bca..3ee45aec26a 100644 --- a/tests/components/config/test_script.py +++ b/tests/components/config/test_script.py @@ -24,7 +24,7 @@ def stub_blueprint_populate_autouse(stub_blueprint_populate: None) -> None: @pytest.fixture(autouse=True) -async def setup_script(hass, script_config, stub_blueprint_populate): +async def setup_script(hass: HomeAssistant, script_config: dict[str, Any]) -> None: """Set up script integration.""" assert await async_setup_component(hass, "script", {"script": script_config})