mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00:00
Use freezer on diagnostics test (#115398)
* Use freezer on diagnostics test * Patch correctly
This commit is contained in:
parent
4224234b7a
commit
3546ca386f
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user