We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5900413 commit b41c477Copy full SHA for b41c477
tests/components/camera/test_init.py
@@ -929,7 +929,8 @@ async def test(expected_types: set[StreamType]) -> None:
929
# Assert WebSocket response
930
assert msg["type"] == TYPE_RESULT
931
assert msg["success"]
932
- assert msg["result"] == {"frontend_stream_types": list(expected_types)}
+ assert msg["result"] == {"frontend_stream_types": ANY}
933
+ assert sorted(msg["result"]["frontend_stream_types"]) == sorted(expected_types)
934
935
await test(expected_stream_types)
936
0 commit comments