core/tests/testing_config
David Poll 7284af6a3e
Add an in-memory-preloading loader for Jinja imports (#88850)
* Adds a loader to enable jinja imports.

* Switch to in-memory

* Move loading custom_jinja off of the event loop

* Raise TemplateNotFound if template doesn't exist

* Fix docstring

* Adds a service to reload custom jinja

* Remove IO from test setup

* Improve coverage and small refactor

* Incorporate feedback and use .jinja extension

* Check the loaded sources in test.

* Incorporate PR feedback.

* Update homeassistant/helpers/template.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-03-13 11:00:05 +01:00
..
blueprints Prevent deleting blueprints which are in use (#78444) 2022-09-14 16:47:08 +02:00
custom_components Convert device_sun_light_trigger test fixture to async (#89578) 2023-03-12 14:48:46 +01:00
custom_jinja Add an in-memory-preloading loader for Jinja imports (#88850) 2023-03-13 11:00:05 +01:00
custom_sentences/en Load custom sentences from config directory (#85558) 2023-01-09 16:48:59 -06:00
media Quote media_source paths (#49054) 2021-04-12 18:32:12 +02:00
notify Rewrite smtp Unittest Tests To Pytest Style (#41720) 2020-10-16 13:55:12 +02:00
.remember_the_milk.conf
__init__.py
kira_codes.yaml