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

@@ -865,7 +865,7 @@ async def test_loading_configuration(hass: HomeAssistant) -> None:
@pytest.mark.parametrize(
("minor_version", "users", "user_data", "default_language"),
(
[
(2, (), {}, "en"),
(2, ({"is_owner": True},), {}, "en"),
(
@@ -894,7 +894,7 @@ async def test_loading_configuration(hass: HomeAssistant) -> None:
{"user1": {"language": {"language": "sv"}}},
"en",
),
),
],
)
async def test_language_default(
hass: HomeAssistant,