Move backup/* WS commands to the backup integration (#110651)
* Move backup/* WS commands to the backup integration * Call correct command * Use debug for logging * Remove assertion of hass.data for setup test * parametrize token fixture
This commit is contained in:
parent
52621f9609
commit
ec4e6c3a74
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