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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
67 changed files with 440 additions and 392 deletions

View file

@ -1,6 +1,7 @@
"""Tests for the diagnostics data provided by the Webmin integration."""
from syrupy.assertion import SnapshotAssertion
from syrupy.filters import props
from homeassistant.core import HomeAssistant
@ -16,9 +17,6 @@ async def test_diagnostics(
snapshot: SnapshotAssertion,
) -> None:
"""Test diagnostics."""
assert (
await get_diagnostics_for_config_entry(
hass, hass_client, await async_init_integration(hass)
)
== snapshot
)
assert await get_diagnostics_for_config_entry(
hass, hass_client, await async_init_integration(hass)
) == snapshot(exclude=props("created_at", "modified_at"))