Improve type hints in diagnostics tests (#120391)
This commit is contained in:
parent
f8d5c9144a
commit
46ed76df31
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue