1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-20 00:35:44 +00:00

update tests

This commit is contained in:
J. Nick Koston
2025-11-16 13:08:16 -06:00
parent 8997fb3443
commit 4ad2da6562
5 changed files with 25 additions and 9 deletions

View File

@@ -29,7 +29,7 @@ def test_binary_sensor_sets_mandatory_fields(generate_main):
)
# Then
assert 'bs_1->set_name("test bs1");' in main_cpp
assert 'bs_1->set_name_and_object_id("test bs1", "test_bs1");' in main_cpp
assert "bs_1->set_pin(" in main_cpp