From 1d0aa6bff0b69e7388fdfd0d761c71cfd239017d Mon Sep 17 00:00:00 2001 From: "Mr. Bubbles" Date: Wed, 26 Jun 2024 13:40:20 +0200 Subject: [PATCH] Update docstrings in pyLoad tests (#120556) --- tests/components/pyload/test_button.py | 2 +- tests/components/pyload/test_config_flow.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/components/pyload/test_button.py b/tests/components/pyload/test_button.py index b30a4cefd42..b5aa18ad3d9 100644 --- a/tests/components/pyload/test_button.py +++ b/tests/components/pyload/test_button.py @@ -59,7 +59,7 @@ async def test_button_press( mock_pyloadapi: AsyncMock, entity_registry: er.EntityRegistry, ) -> None: - """Test switch turn on method.""" + """Test button press method.""" config_entry.add_to_hass(hass) await hass.config_entries.async_setup(config_entry.entry_id) diff --git a/tests/components/pyload/test_config_flow.py b/tests/components/pyload/test_config_flow.py index 8e9083a49c8..8c775412371 100644 --- a/tests/components/pyload/test_config_flow.py +++ b/tests/components/pyload/test_config_flow.py @@ -262,7 +262,7 @@ async def test_reconfiguration( config_entry: MockConfigEntry, mock_pyloadapi: AsyncMock, ) -> None: - """Test reauth flow.""" + """Test reconfiguration flow.""" config_entry.add_to_hass(hass) @@ -304,7 +304,7 @@ async def test_reconfigure_errors( side_effect: Exception, error_text: str, ) -> None: - """Test reauth flow.""" + """Test reconfiguration flow.""" config_entry.add_to_hass(hass)