mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Add type hints to integration tests (recorder) (#88313)
This commit is contained in:
@@ -5,12 +5,12 @@ from unittest.mock import patch
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.helpers import recorder
|
||||
|
||||
from tests.common import SetupRecorderInstanceT
|
||||
from tests.typing import RecorderInstanceGenerator
|
||||
|
||||
|
||||
async def test_async_migration_in_progress(
|
||||
async_setup_recorder_instance: SetupRecorderInstanceT, hass: HomeAssistant
|
||||
):
|
||||
async_setup_recorder_instance: RecorderInstanceGenerator, hass: HomeAssistant
|
||||
) -> None:
|
||||
"""Test async_migration_in_progress wraps the recorder."""
|
||||
with patch(
|
||||
"homeassistant.components.recorder.util.async_migration_in_progress",
|
||||
|
||||
Reference in New Issue
Block a user