mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 16:57:10 +00:00
Update docstrings in pyLoad tests (#120556)
This commit is contained in:
parent
b07453dca4
commit
1d0aa6bff0
@ -59,7 +59,7 @@ async def test_button_press(
|
|||||||
mock_pyloadapi: AsyncMock,
|
mock_pyloadapi: AsyncMock,
|
||||||
entity_registry: er.EntityRegistry,
|
entity_registry: er.EntityRegistry,
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Test switch turn on method."""
|
"""Test button press method."""
|
||||||
|
|
||||||
config_entry.add_to_hass(hass)
|
config_entry.add_to_hass(hass)
|
||||||
await hass.config_entries.async_setup(config_entry.entry_id)
|
await hass.config_entries.async_setup(config_entry.entry_id)
|
||||||
|
@ -262,7 +262,7 @@ async def test_reconfiguration(
|
|||||||
config_entry: MockConfigEntry,
|
config_entry: MockConfigEntry,
|
||||||
mock_pyloadapi: AsyncMock,
|
mock_pyloadapi: AsyncMock,
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Test reauth flow."""
|
"""Test reconfiguration flow."""
|
||||||
|
|
||||||
config_entry.add_to_hass(hass)
|
config_entry.add_to_hass(hass)
|
||||||
|
|
||||||
@ -304,7 +304,7 @@ async def test_reconfigure_errors(
|
|||||||
side_effect: Exception,
|
side_effect: Exception,
|
||||||
error_text: str,
|
error_text: str,
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Test reauth flow."""
|
"""Test reconfiguration flow."""
|
||||||
|
|
||||||
config_entry.add_to_hass(hass)
|
config_entry.add_to_hass(hass)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user