1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Remove trailing space from configuration error messages (#103909)

* Remove trailing space from configuration error messages

* Update test
This commit is contained in:
Erik Montnemery
2023-11-13 15:19:37 +01:00
committed by GitHub
parent c6f9af2cab
commit 07af073735
3 changed files with 30 additions and 30 deletions

View File

@@ -83,7 +83,7 @@ async def test_bad_core_config(hass: HomeAssistant) -> None:
(
"Invalid config for [homeassistant]: not a valid value for dictionary "
"value @ data['unit_system']. Got 'bad'. (See "
f"{hass.config.path(YAML_CONFIG_FILE)}, line 2). "
f"{hass.config.path(YAML_CONFIG_FILE)}, line 2)."
),
"homeassistant",
{"unit_system": "bad"},