1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Fix consider-using-tuple pylint warnings in core tests (#119463)

This commit is contained in:
epenet
2024-06-12 12:35:01 +02:00
committed by GitHub
parent 10b32e6a24
commit abb8c58b87
51 changed files with 128 additions and 128 deletions

View File

@@ -122,7 +122,7 @@ async def test_get_conditions_hidden_auxiliary(
"entity_id": entity_entry.id,
"metadata": {"secondary": True},
}
for condition in ["is_on", "is_off"]
for condition in ("is_on", "is_off")
]
conditions = await async_get_device_automations(
hass, DeviceAutomationType.CONDITION, device_entry.id

View File

@@ -122,7 +122,7 @@ async def test_get_triggers_hidden_auxiliary(
"entity_id": entry.id,
"metadata": {"secondary": True},
}
for trigger in ["turned_on", "turned_off"]
for trigger in ("turned_on", "turned_off")
]
triggers = await async_get_device_automations(
hass, DeviceAutomationType.TRIGGER, device_entry.id