make it safer

This commit is contained in:
J. Nick Koston
2026-03-06 07:39:49 -10:00
parent 79d7795c07
commit 6b53ccc85a
9 changed files with 29 additions and 22 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ def test_text_sets_mandatory_fields(generate_main):
main_cpp = generate_main("tests/component_tests/text/test_text.yaml")
# Then
assert 'it_1->configure_entity("test 1 text",' in main_cpp
assert 'it_1->configure_entity_("test 1 text",' in main_cpp
def test_text_config_value_internal_set(generate_main):