Skip to content

Commit

Permalink
tests: use the right keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
palazzem committed Feb 17, 2024
1 parent 50c39f1 commit 8256b30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -1141,7 +1141,7 @@ def test_device_register_sector(alarm_device, config_entry, coordinator):
# Ensure a sector can register itself so the device can map entity ids to sector codes
sector = SectorBinarySensor("test_id", 0, config_entry, "S1 Living Room", coordinator, alarm_device)
alarm_device._register_sector(sector)
assert alarm_device._sectors["econnect_metronet.econnect_metronet_test_user_s1_living_room"] == 1
assert alarm_device._sectors["econnect_metronet_test_user_s1_living_room"] == 1


def test_device_arm_success(alarm_device, mocker):
Expand Down

0 comments on commit 8256b30

Please sign in to comment.