Skip to content

Commit 1d2ed13

Browse files
committed
Remove unused ignore_missing_translations for config_entry_reauth
The config_entry_reauth translations now exist in upstream, so the ignore_missing_translations fixtures in test_setup_permission_error and test_setup_http_status_401 are no longer needed and were causing test teardown errors.
1 parent 3bbcd39 commit 1d2ed13

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

tests/components/gridx/test_init.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,6 @@ def config_entry(hass: HomeAssistant) -> MockConfigEntry:
2828
return entry
2929

3030

31-
@pytest.mark.parametrize(
32-
"ignore_missing_translations",
33-
[
34-
[
35-
"component.homeassistant.issues.config_entry_reauth.title",
36-
"component.homeassistant.issues.config_entry_reauth.description",
37-
]
38-
],
39-
)
4031
async def test_setup_permission_error(
4132
hass: HomeAssistant, config_entry: MockConfigEntry
4233
) -> None:
@@ -51,15 +42,6 @@ async def test_setup_permission_error(
5142
assert config_entry.state is ConfigEntryState.SETUP_ERROR
5243

5344

54-
@pytest.mark.parametrize(
55-
"ignore_missing_translations",
56-
[
57-
[
58-
"component.homeassistant.issues.config_entry_reauth.title",
59-
"component.homeassistant.issues.config_entry_reauth.description",
60-
]
61-
],
62-
)
6345
async def test_setup_http_status_401(
6446
hass: HomeAssistant, config_entry: MockConfigEntry
6547
) -> None:

0 commit comments

Comments
 (0)