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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user