From 7083a0fdb7c3f59fdfcc8ed99b6a39df11b679fa Mon Sep 17 00:00:00 2001 From: Mary <61589585+maylikenoother@users.noreply.github.com> Date: Mon, 22 Dec 2025 21:21:36 +0100 Subject: [PATCH] Fix typo in test names (exception) (#159591) --- tests/components/isy994/test_config_flow.py | 2 +- tests/components/powerwall/test_config_flow.py | 2 +- tests/util/test_timeout.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/components/isy994/test_config_flow.py b/tests/components/isy994/test_config_flow.py index 3a688f450d0..d3194fd4a4c 100644 --- a/tests/components/isy994/test_config_flow.py +++ b/tests/components/isy994/test_config_flow.py @@ -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} diff --git a/tests/components/powerwall/test_config_flow.py b/tests/components/powerwall/test_config_flow.py index ab5034de637..fb447bae8bc 100644 --- a/tests/components/powerwall/test_config_flow.py +++ b/tests/components/powerwall/test_config_flow.py @@ -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} diff --git a/tests/util/test_timeout.py b/tests/util/test_timeout.py index 8b451486733..d463f43a0c1 100644 --- a/tests/util/test_timeout.py +++ b/tests/util/test_timeout.py @@ -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()