mirror of
https://github.com/home-assistant/core.git
synced 2025-08-01 03:35:09 +02:00
Improve type hints in diagnostics tests (#120391)
This commit is contained in:
@@ -19,7 +19,7 @@ from tests.typing import ClientSessionGenerator, WebSocketGenerator
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
async def mock_diagnostics_integration(hass):
|
||||
async def mock_diagnostics_integration(hass: HomeAssistant) -> None:
|
||||
"""Mock a diagnostics integration."""
|
||||
hass.config.components.add("fake_integration")
|
||||
mock_platform(
|
||||
|
Reference in New Issue
Block a user