mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Fix stale docstrings in onboarding tests (#139696)
This commit is contained in:
parent
ee486c269c
commit
20e48054cf
@ -762,7 +762,7 @@ async def test_onboarding_backup_info(
|
||||
hass_client: ClientSessionGenerator,
|
||||
snapshot: SnapshotAssertion,
|
||||
) -> None:
|
||||
"""Test returning installation type during onboarding."""
|
||||
"""Test backup info."""
|
||||
mock_storage(hass_storage, {"done": []})
|
||||
|
||||
assert await async_setup_component(hass, "onboarding", {})
|
||||
@ -879,7 +879,7 @@ async def test_onboarding_backup_restore(
|
||||
params: dict[str, Any],
|
||||
expected_kwargs: dict[str, Any],
|
||||
) -> None:
|
||||
"""Test returning installation type during onboarding."""
|
||||
"""Test restore backup."""
|
||||
mock_storage(hass_storage, {"done": []})
|
||||
|
||||
assert await async_setup_component(hass, "onboarding", {})
|
||||
@ -976,7 +976,7 @@ async def test_onboarding_backup_restore_error(
|
||||
expected_json: str,
|
||||
restore_calls: int,
|
||||
) -> None:
|
||||
"""Test returning installation type during onboarding."""
|
||||
"""Test restore backup fails."""
|
||||
mock_storage(hass_storage, {"done": []})
|
||||
|
||||
assert await async_setup_component(hass, "onboarding", {})
|
||||
@ -1020,7 +1020,7 @@ async def test_onboarding_backup_restore_unexpected_error(
|
||||
expected_message: str,
|
||||
restore_calls: int,
|
||||
) -> None:
|
||||
"""Test returning installation type during onboarding."""
|
||||
"""Test restore backup fails."""
|
||||
mock_storage(hass_storage, {"done": []})
|
||||
|
||||
assert await async_setup_component(hass, "onboarding", {})
|
||||
@ -1046,7 +1046,7 @@ async def test_onboarding_backup_upload(
|
||||
hass_storage: dict[str, Any],
|
||||
hass_client: ClientSessionGenerator,
|
||||
) -> None:
|
||||
"""Test returning installation type during onboarding."""
|
||||
"""Test upload backup."""
|
||||
mock_storage(hass_storage, {"done": []})
|
||||
|
||||
assert await async_setup_component(hass, "onboarding", {})
|
||||
|
Loading…
x
Reference in New Issue
Block a user