1
0
mirror of https://github.com/home-assistant/core.git synced 2026-05-08 17:49:37 +01:00

Fix template image test affecting other tests (#122849)

This commit is contained in:
Erik Montnemery
2024-07-30 16:28:55 +02:00
committed by GitHub
parent a5136a1021
commit b973455037
+3
View File
@@ -76,10 +76,12 @@ async def _assert_state(
assert body == expected_image
@respx.mock
@pytest.mark.freeze_time("2024-07-09 00:00:00+00:00")
async def test_setup_config_entry(
hass: HomeAssistant,
snapshot: SnapshotAssertion,
imgbytes_jpg,
) -> None:
"""Test the config flow."""
@@ -538,6 +540,7 @@ async def test_trigger_image_custom_entity_picture(
)
@respx.mock
async def test_device_id(
hass: HomeAssistant,
device_registry: dr.DeviceRegistry,