Adjust test

This commit is contained in:
Paulus Schoutsen
2025-06-09 09:09:39 -04:00
parent 48fd22c3d2
commit 2e2853058c

View File

@@ -1125,7 +1125,7 @@ async def test_selector_serializer(
"media_content_type": {"type": "string"}, "media_content_type": {"type": "string"},
"metadata": {"type": "object", "additionalProperties": True}, "metadata": {"type": "object", "additionalProperties": True},
}, },
"required": ["entity_id", "media_content_id", "media_content_type"], "required": ["media_content_id", "media_content_type"],
} }
assert selector_serializer(selector.NumberSelector({"mode": "box"})) == { assert selector_serializer(selector.NumberSelector({"mode": "box"})) == {
"type": "number" "type": "number"