1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Move backup/* WS commands to the backup integration (#111636)

Revert "Revert "Move backup/* WS commands to the backup integration" (#111136)"

This reverts commit 8f83426895.
This commit is contained in:
Joakim Sørensen
2024-02-27 17:56:07 +01:00
committed by GitHub
parent 890e651bdd
commit f622ddef47
9 changed files with 467 additions and 158 deletions

View File

@@ -14,7 +14,11 @@ async def test_setup_with_hassio(
caplog: pytest.LogCaptureFixture,
) -> None:
"""Test the setup of the integration with hassio enabled."""
assert not await setup_backup_integration(hass=hass, with_hassio=True)
assert await setup_backup_integration(
hass=hass,
with_hassio=True,
configuration={DOMAIN: {}},
)
assert (
"The backup integration is not supported on this installation method, please"
" remove it from your configuration"