core/tests/components/config
Erik Montnemery 7cd0fe3c5f
Don't reload other automations when saving an automation (#80254)
* Only reload modified automation

* Correct check for existing automation

* Add tests

* Remove the new service, improve ReloadServiceHelper

* Revert unneeded changes

* Update tests

* Address review comments

* Improve test coverage

* Address review comments

* Tweak reloader code + add a targetted test

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Explain the tests + add more variations

* Fix copy-paste mistake in test

* Rephrase explanation of expected test outcome

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-04-16 15:58:57 +02:00
..
__init__.py
conftest.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_area_registry.py Add WebSocket support for handling labels on areas registry (#113755) 2024-03-18 22:17:13 +01:00
test_auth.py Add empty line after module docstring (2) [tests.components] (#112737) 2024-03-08 19:16:21 +01:00
test_auth_provider_homeassistant.py Add empty line after module docstring [tests a-e] (#112708) 2024-03-08 08:50:25 -05:00
test_automation.py Don't reload other automations when saving an automation (#80254) 2024-04-16 15:58:57 +02:00
test_category_registry.py Update empty line formatting after module docstring (#114040) 2024-03-23 00:27:57 +01:00
test_config_entries.py Use is in FlowResultType enum comparison in tests (#114917) 2024-04-05 10:40:14 +02:00
test_core.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_device_registry.py Enable Ruff rule PT007 (#113764) 2024-03-19 09:01:07 +01:00
test_entity_registry.py Add WebSocket support for assigning labels to entities (#113757) 2024-03-18 22:03:37 +01:00
test_floor_registry.py Default floor level to None (and allow unsetting it) (#114249) 2024-03-26 18:58:25 +01:00
test_init.py Add empty line after module docstring [tests a-e] (#112708) 2024-03-08 08:50:25 -05:00
test_label_registry.py Add theme color support to labels (#113404) 2024-03-15 13:22:06 +01:00
test_scene.py Enable Ruff rule PT007 (#113764) 2024-03-19 09:01:07 +01:00
test_script.py Enable Ruff rule PT007 (#113764) 2024-03-19 09:01:07 +01:00