Improve formatting of package errors (#104078)

This commit is contained in:
Erik Montnemery 2023-11-17 14:57:37 +01:00 committed by GitHub
parent 2ff9beb9c9
commit a78764f000
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 25 additions and 28 deletions

View file

@ -379,8 +379,8 @@ async def test_package_invalid(hass: HomeAssistant) -> None:
warning = CheckConfigError(
(
"Package p1 setup failed. Integration group cannot be merged. Expected a "
"dict."
"Setup of package 'p1' failed: integration 'group' cannot be merged"
", expected a dict"
),
"homeassistant.packages.p1.group",
{"group": ["a"]},