Skip to content

Commit

Permalink
Freeze time in aemet diagnostics test (home-assistant#111308)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpbede authored Feb 24, 2024
1 parent 93a76ab commit 076ae22
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/components/aemet/test_diagnostics.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

from unittest.mock import patch

import pytest
from syrupy import SnapshotAssertion

from homeassistant.components.aemet.const import DOMAIN
Expand All @@ -13,6 +14,7 @@
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,
Expand Down

0 comments on commit 076ae22

Please sign in to comment.