mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 09:47:52 +00:00
Freeze time in aemet diagnostics test (#111308)
This commit is contained in:
parent
93a76ab519
commit
076ae22fdd
@ -2,6 +2,7 @@
|
||||
|
||||
from unittest.mock import patch
|
||||
|
||||
import pytest
|
||||
from syrupy import SnapshotAssertion
|
||||
|
||||
from homeassistant.components.aemet.const import DOMAIN
|
||||
@ -13,6 +14,7 @@ from tests.components.diagnostics import get_diagnostics_for_config_entry
|
||||
from tests.typing import ClientSessionGenerator
|
||||
|
||||
|
||||
@pytest.mark.freeze_time("2024-02-23T18:00:00+00:00")
|
||||
async def test_config_entry_diagnostics(
|
||||
hass: HomeAssistant,
|
||||
hass_client: ClientSessionGenerator,
|
||||
|
Loading…
x
Reference in New Issue
Block a user