mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 11:47:06 +00:00
Fix flaky automation test (#84428)
This commit is contained in:
parent
8051e5d4f4
commit
7b26a952bd
@ -93,7 +93,7 @@ async def test_update_automation_config_with_error(
|
|||||||
|
|
||||||
resp = await client.post(
|
resp = await client.post(
|
||||||
"/api/config/automation/config/moon",
|
"/api/config/automation/config/moon",
|
||||||
data=json.dumps({}),
|
data=json.dumps({"action": []}),
|
||||||
)
|
)
|
||||||
await hass.async_block_till_done()
|
await hass.async_block_till_done()
|
||||||
assert sorted(hass.states.async_entity_ids("automation")) == []
|
assert sorted(hass.states.async_entity_ids("automation")) == []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user