mirror of
https://github.com/home-assistant/core.git
synced 2026-09-25 07:51:46 -05:00
Use pytest.mark.freeze_time in yale_smart_alarm tests (#156359)
This commit is contained in:
@@ -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]],
|
||||
|
||||
Reference in New Issue
Block a user