Freeze time on profile test (#113618)

This commit is contained in:
Jan Bouwhuis 2024-03-16 21:16:18 +01:00 committed by GitHub
parent 4be9d3e7f6
commit 5dccd8204c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,6 +7,7 @@ import os
from pathlib import Path
from unittest.mock import patch
from freezegun.api import FrozenDateTimeFactory
from lru import LRU
import pytest
@ -99,7 +100,9 @@ async def test_memory_usage(hass: HomeAssistant, tmp_path: Path) -> None:
async def test_object_growth_logging(
hass: HomeAssistant, caplog: pytest.LogCaptureFixture
hass: HomeAssistant,
caplog: pytest.LogCaptureFixture,
freezer: FrozenDateTimeFactory,
) -> None:
"""Test we can setup and the service and we can dump objects to the log."""