mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Improve type hints in diagnostics tests (#120391)
This commit is contained in:
parent
f8d5c9144a
commit
46ed76df31
@ -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…
x
Reference in New Issue
Block a user