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:
parent
890e651bdd
commit
f622ddef47
9 changed files with 467 additions and 158 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue