mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 21:55:10 +02:00
Fix flaky history_stats test case (#149974)
This commit is contained in:
@@ -400,10 +400,10 @@ async def test_options_flow_preview(
|
|||||||
msg = await client.receive_json()
|
msg = await client.receive_json()
|
||||||
assert msg["event"]["state"] == exp_count
|
assert msg["event"]["state"] == exp_count
|
||||||
|
|
||||||
hass.states.async_set(monitored_entity, "on")
|
hass.states.async_set(monitored_entity, "on")
|
||||||
|
|
||||||
msg = await client.receive_json()
|
msg = await client.receive_json()
|
||||||
assert msg["event"]["state"] == "3"
|
assert msg["event"]["state"] == "3"
|
||||||
|
|
||||||
|
|
||||||
async def test_options_flow_preview_errors(
|
async def test_options_flow_preview_errors(
|
||||||
|
Reference in New Issue
Block a user