hass-core/tests/components/template
chammp 52379ad7cb
Add code_format_template to template locks (#106947)
* Add code_format to template locks

* Replace code_format with code_format_template

* Add test case for template eval to None

* Apply suggestion to not call super()

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

* Add more negative tests

* Handle template render errors

* Better error message

* Add custom test lock config for code format

* Add type hints from upstream

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2024-06-10 16:54:17 +02:00
..
fixtures
snapshots Remove deprecated forecast attribute from WeatherEntity (#110761) 2024-03-27 16:51:29 +01:00
__init__.py
conftest.py Add LogCaptureFixture type hints in tests (#118372) 2024-05-29 14:10:00 +02:00
test_alarm_control_panel.py Add default code to alarm_control_panel (#112540) 2024-05-29 10:46:53 +02:00
test_binary_sensor.py Add empty line after module docstring [tests t-z] (#112712) 2024-03-08 14:44:56 +01:00
test_button.py Fix namespace-import pylint warning in components (#119299) 2024-06-10 15:55:08 +02:00
test_config_flow.py Always run keyed event trackers immediately (#114709) 2024-04-04 15:30:01 -10:00
test_cover.py Improve typing for calls fixture in tests (m-z) (#118350) 2024-05-29 09:30:41 +02:00
test_fan.py Improve typing for calls fixture in tests (m-z) (#118350) 2024-05-29 09:30:41 +02:00
test_image.py Fix namespace-import pylint warning in components (#119299) 2024-06-10 15:55:08 +02:00
test_init.py Refactor rate limit helper to track time in seconds (#113898) 2024-03-20 19:49:37 -04:00
test_light.py Add return type hints in tests (k-z) (#118942) 2024-06-06 10:11:29 +02:00
test_lock.py Add code_format_template to template locks (#106947) 2024-06-10 16:54:17 +02:00
test_manual_trigger_entity.py
test_number.py Fix namespace-import pylint warning in components (#119299) 2024-06-10 15:55:08 +02:00
test_select.py Fix namespace-import pylint warning in components (#119299) 2024-06-10 15:55:08 +02:00
test_sensor.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_switch.py Improve typing for calls fixture in tests (m-z) (#118350) 2024-05-29 09:30:41 +02:00
test_template_entity.py Add empty line after module docstring (2) [tests.components] (#112737) 2024-03-08 19:16:21 +01:00
test_trigger.py Improve typing for calls fixture in tests (m-z) (#118350) 2024-05-29 09:30:41 +02:00
test_vacuum.py Improve typing for calls fixture in tests (m-z) (#118350) 2024-05-29 09:30:41 +02:00
test_weather.py Remove deprecated forecast attribute from WeatherEntity (#110761) 2024-03-27 16:51:29 +01:00