Add created_at/modified_at to config entries (#122456)

This commit is contained in:
Robert Resch
2024-07-29 22:08:46 +02:00
committed by GitHub
parent 20c4f84a4e
commit ad50136dbd
67 changed files with 440 additions and 392 deletions

View File

@@ -1,6 +1,7 @@
"""Tests for the diagnostics data provided by the Fronius integration."""
from syrupy import SnapshotAssertion
from syrupy.filters import props
from homeassistant.core import HomeAssistant
@@ -21,11 +22,8 @@ async def test_diagnostics(
mock_responses(aioclient_mock)
entry = await setup_fronius_integration(hass)
assert (
await get_diagnostics_for_config_entry(
hass,
hass_client,
entry,
)
== snapshot
)
assert await get_diagnostics_for_config_entry(
hass,
hass_client,
entry,
) == snapshot(exclude=props("created_at", "modified_at"))