mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 07:07:28 +00:00
Fix test_scenes_with_entity (#30684)
Don't assume any particular order for returned scenes; it's undefined (currently uses dict values()).
This commit is contained in:
parent
7d506bc38b
commit
62f53b656d
@ -229,7 +229,7 @@ async def test_scenes_with_entity(hass):
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
assert ha_scene.scenes_with_entity(hass, "light.kitchen") == [
|
assert sorted(ha_scene.scenes_with_entity(hass, "light.kitchen")) == [
|
||||||
"scene.scene_1",
|
"scene.scene_1",
|
||||||
"scene.scene_3",
|
"scene.scene_3",
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user