ha-core/tests/fixtures/core/config
chammp a5cc0ae890
Improve package schema validation (#108125)
* Add failing tests for package config validation error wrapping

* Wrap package schema validation errors in HomeAssistantError

* Fix yamllint errors

* Rework package merge validation

Ignore invalid package definitions instead of failing startup.
Output error messages with locations if possible when a package
definition has errors.

* Ruff format

* Fix linter errors

* Move package_definition_schema to module scope

* Move inner function to module level

* Merge exception handlers

Merge exception handlers for config schema validation and package merge
to avoid untested code branches

* Fix long lines and doc strings

* More minor changes to exception handler

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-02-10 20:16:20 +01:00
..
component_validation Add domain key config validation (#104242) 2023-12-05 15:07:32 +01:00
package_errors Add additional test for package errors (#103955) 2023-11-14 11:48:56 +01:00
package_exceptions Improve formatting of package errors (#103976) 2023-11-16 09:08:47 +01:00
package_schema_errors Improve package schema validation (#108125) 2024-02-10 20:16:20 +01:00
package_schema_validation Improve package schema validation (#108125) 2024-02-10 20:16:20 +01:00
yaml_errors Add tests for yaml syntax errors (#103908) 2023-11-13 14:04:58 +01:00