core/tests/fixtures
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
..
core/config Improve package schema validation (#108125) 2024-02-10 20:16:20 +01:00
helpers Prettify yaml (tests) (#68891) 2022-03-30 11:26:08 +02:00
Ddwrt_Status_Lan.txt
Ddwrt_Status_Wireless.txt
alpr_cloud.json Prettify json (tests) (#68888) 2022-03-30 11:12:58 +02:00
alpr_stdout.txt
aurora.txt
bom_weather.json
coinmarketcap.json Prettify json (tests) (#68888) 2022-03-30 11:12:58 +02:00
darksky.json Prettify json (tests) (#68888) 2022-03-30 11:12:58 +02:00
feedreader.xml
feedreader1.xml
feedreader2.xml
feedreader3.xml
feedreader4.xml
feedreader5.xml Fix Feedreader Atom feeds using `updated` date (#73208) 2022-06-08 20:32:01 +02:00
feedreader6.xml Fix feedreader date comparison to allow RSS entries with identical timestamps (#104925) 2023-12-23 16:48:36 +01:00
homematicip_cloud.json Unblock JSON CI by fixing improperly indented JSON in test fixture (#88803) 2023-02-26 14:41:16 -06:00
london_air.json Fixes London Air parsing error (#97557) 2023-08-01 11:04:30 +02:00
metoffice.json Prettify json (tests) (#68888) 2022-03-30 11:12:58 +02:00
microsoft_face_create_person.json Prettify json (tests) (#68888) 2022-03-30 11:12:58 +02:00
microsoft_face_detect.json Prettify json (tests) (#68888) 2022-03-30 11:12:58 +02:00
microsoft_face_identify.json Prettify json (tests) (#68888) 2022-03-30 11:12:58 +02:00
microsoft_face_persongroups.json Prettify json (tests) (#68888) 2022-03-30 11:12:58 +02:00
microsoft_face_persons.json Prettify json (tests) (#68888) 2022-03-30 11:12:58 +02:00
openhardwaremonitor.json Prettify json (tests) (#68888) 2022-03-30 11:12:58 +02:00
uk_transport_bus.json Prettify json (tests) (#68888) 2022-03-30 11:12:58 +02:00
uk_transport_train.json
upc_connect.xml
whoami.json Prettify json (tests) (#68888) 2022-03-30 11:12:58 +02:00
wsdot.json Prettify json (tests) (#68888) 2022-03-30 11:12:58 +02:00
yahoo_finance.json Prettify json (tests) (#68888) 2022-03-30 11:12:58 +02:00
yahooweather.json Prettify json (tests) (#68888) 2022-03-30 11:12:58 +02:00
yandex_transport_bus_reply.json Prettify json (#68895) 2022-03-30 12:15:04 +02:00
yandex_transport_suburban_reply.json Prettify json (tests) (#68888) 2022-03-30 11:12:58 +02:00