mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 14:15:12 +02:00
Use freezer on diagnostics test (#115398)
* Use freezer on diagnostics test * Patch correctly
This commit is contained in:
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
||||||
|
from freezegun.api import FrozenDateTimeFactory
|
||||||
|
|
||||||
from homeassistant.core import HomeAssistant
|
from homeassistant.core import HomeAssistant
|
||||||
|
|
||||||
from .conftest import ComponentSetup
|
from .conftest import ComponentSetup
|
||||||
@@ -19,6 +21,7 @@ async def test_entry_diagnostics(
|
|||||||
config_entry: MockConfigEntry,
|
config_entry: MockConfigEntry,
|
||||||
rtsp_to_webrtc_client: Any,
|
rtsp_to_webrtc_client: Any,
|
||||||
setup_integration: ComponentSetup,
|
setup_integration: ComponentSetup,
|
||||||
|
freezer: FrozenDateTimeFactory,
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Test config entry diagnostics."""
|
"""Test config entry diagnostics."""
|
||||||
await setup_integration()
|
await setup_integration()
|
||||||
|
Reference in New Issue
Block a user