1
0
mirror of https://github.com/home-assistant/core.git synced 2026-02-15 07:36:16 +00:00

Fix typo in test names (exception) (#159591)

This commit is contained in:
Mary
2025-12-22 21:21:36 +01:00
committed by GitHub
parent e3976923b2
commit 7083a0fdb7
3 changed files with 3 additions and 3 deletions

View File

@@ -154,7 +154,7 @@ async def test_form_invalid_auth(hass: HomeAssistant) -> None:
assert result2["errors"] == {CONF_PASSWORD: "invalid_auth"}
async def test_form_unknown_exeption(hass: HomeAssistant) -> None:
async def test_form_unknown_exception(hass: HomeAssistant) -> None:
"""Test we handle generic exceptions."""
result = await hass.config_entries.flow.async_init(
DOMAIN, context={"source": config_entries.SOURCE_USER}

View File

@@ -109,7 +109,7 @@ async def test_invalid_auth(hass: HomeAssistant) -> None:
assert result2["errors"] == {CONF_PASSWORD: "invalid_auth"}
async def test_form_unknown_exeption(hass: HomeAssistant) -> None:
async def test_form_unknown_exception(hass: HomeAssistant) -> None:
"""Test we handle an unknown exception."""
result = await hass.config_entries.flow.async_init(
DOMAIN, context={"source": config_entries.SOURCE_USER}

View File

@@ -448,7 +448,7 @@ async def test_simple_zone_timeout_freeze_without_timeout_cleanup2(
await asyncio.sleep(0.3)
async def test_simple_zone_timeout_freeze_without_timeout_exeption() -> None:
async def test_simple_zone_timeout_freeze_without_timeout_exception() -> None:
"""Test a simple zone timeout freeze on a zone that does not have a timeout set."""
timeout = TimeoutManager()