mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 18:27:09 +00:00
Fix template image test affecting other tests (#122849)
This commit is contained in:
parent
a5136a1021
commit
b973455037
@ -76,10 +76,12 @@ async def _assert_state(
|
|||||||
assert body == expected_image
|
assert body == expected_image
|
||||||
|
|
||||||
|
|
||||||
|
@respx.mock
|
||||||
@pytest.mark.freeze_time("2024-07-09 00:00:00+00:00")
|
@pytest.mark.freeze_time("2024-07-09 00:00:00+00:00")
|
||||||
async def test_setup_config_entry(
|
async def test_setup_config_entry(
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
snapshot: SnapshotAssertion,
|
snapshot: SnapshotAssertion,
|
||||||
|
imgbytes_jpg,
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Test the config flow."""
|
"""Test the config flow."""
|
||||||
|
|
||||||
@ -538,6 +540,7 @@ async def test_trigger_image_custom_entity_picture(
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@respx.mock
|
||||||
async def test_device_id(
|
async def test_device_id(
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
device_registry: dr.DeviceRegistry,
|
device_registry: dr.DeviceRegistry,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user