Enable Ruff rule PT007 (#113764)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
089a3ab6d7
commit
00ec7f11f0
204 changed files with 908 additions and 921 deletions
|
@ -267,7 +267,7 @@ async def test_ota_sw_version(hass: HomeAssistant, ota_zha_device) -> None:
|
|||
|
||||
@pytest.mark.parametrize(
|
||||
("device", "last_seen_delta", "is_available"),
|
||||
(
|
||||
[
|
||||
("zigpy_device", 0, True),
|
||||
(
|
||||
"zigpy_device",
|
||||
|
@ -305,7 +305,7 @@ async def test_ota_sw_version(hass: HomeAssistant, ota_zha_device) -> None:
|
|||
CONF_DEFAULT_CONSIDER_UNAVAILABLE_BATTERY + 2,
|
||||
False,
|
||||
),
|
||||
),
|
||||
],
|
||||
)
|
||||
async def test_device_restore_availability(
|
||||
hass: HomeAssistant,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue