mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 19:09:32 +00:00
Enable Ruff rule PT007 (#113764)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
@@ -112,7 +112,7 @@ def test__load_translations_files_by_language(
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
("language", "expected_translation", "expected_errors"),
|
||||
(
|
||||
[
|
||||
(
|
||||
"en",
|
||||
{
|
||||
@@ -154,7 +154,7 @@ def test__load_translations_files_by_language(
|
||||
"component.test.entity.switch.outlet.name",
|
||||
],
|
||||
),
|
||||
),
|
||||
],
|
||||
)
|
||||
async def test_load_translations_files_invalid_localized_placeholders(
|
||||
hass: HomeAssistant,
|
||||
|
||||
Reference in New Issue
Block a user