Use pytest.mark.freeze_time in yale_smart_alarm tests (#156359)

This commit is contained in:
Erik Montnemery
2025-11-11 12:06:22 +01:00
committed by GitHub
parent aa9003a524
commit bb7dc69131
@@ -4,7 +4,6 @@ from __future__ import annotations
from unittest.mock import Mock
from freezegun import freeze_time
import pytest
from syrupy.assertion import SnapshotAssertion
from yalesmartalarmclient.exceptions import UnknownError
@@ -18,7 +17,7 @@ from homeassistant.helpers import entity_registry as er
from tests.common import MockConfigEntry, snapshot_platform
@freeze_time("2024-04-29T18:00:00.612351+00:00")
@pytest.mark.freeze_time("2024-04-29T18:00:00.612351+00:00")
@pytest.mark.parametrize(
"load_platforms",
[[Platform.BUTTON]],