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

Enable Ruff rule PT007 (#113764)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Sid
2024-03-19 09:01:07 +01:00
committed by GitHub
parent 089a3ab6d7
commit 00ec7f11f0
204 changed files with 908 additions and 921 deletions

View File

@@ -132,13 +132,13 @@ async def test_list_devices(
@pytest.mark.parametrize(
("payload_key", "payload_value"),
[
["area_id", "12345A"],
["area_id", None],
["disabled_by", dr.DeviceEntryDisabler.USER],
["disabled_by", "user"],
["disabled_by", None],
["name_by_user", "Test Friendly Name"],
["name_by_user", None],
("area_id", "12345A"),
("area_id", None),
("disabled_by", dr.DeviceEntryDisabler.USER),
("disabled_by", "user"),
("disabled_by", None),
("name_by_user", "Test Friendly Name"),
("name_by_user", None),
],
)
async def test_update_device(