Skip to content

Commit

Permalink
Use freezer on diagnostics test (home-assistant#115398)
Browse files Browse the repository at this point in the history
* Use freezer on diagnostics test

* Patch correctly
  • Loading branch information
jbouwh authored Apr 11, 2024
1 parent 4224234 commit 3546ca3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/components/rtsp_to_webrtc/test_diagnostics.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

from typing import Any

from freezegun.api import FrozenDateTimeFactory

from homeassistant.core import HomeAssistant

from .conftest import ComponentSetup
Expand All @@ -19,6 +21,7 @@ async def test_entry_diagnostics(
config_entry: MockConfigEntry,
rtsp_to_webrtc_client: Any,
setup_integration: ComponentSetup,
freezer: FrozenDateTimeFactory,
) -> None:
"""Test config entry diagnostics."""
await setup_integration()
Expand Down

0 comments on commit 3546ca3

Please sign in to comment.