mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 04:50:05 +00:00
Improve entity platform tests (#124051)
This commit is contained in:
@@ -574,7 +574,7 @@ async def test_register_entity_service_non_entity_service_schema(
|
||||
)
|
||||
|
||||
# The check currently does not recurse into vol.All or vol.Any allowing these
|
||||
# non-compliatn schemas to pass
|
||||
# non-compliant schemas to pass
|
||||
component.async_register_entity_service(
|
||||
"hello", vol.All(vol.Schema({"some": str})), Mock()
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user