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

Remove backup helper (#143558)

* Remove backup helper

* Update aws_s3 tests
This commit is contained in:
Erik Montnemery
2025-06-30 14:11:10 +02:00
committed by GitHub
parent ee8830cc77
commit 741a3d5009
26 changed files with 88 additions and 296 deletions

View File

@@ -19,7 +19,6 @@ from homeassistant.components.backup import (
from homeassistant.components.backup.backup import CoreLocalBackupAgent
from homeassistant.components.backup.const import DATA_MANAGER
from homeassistant.core import HomeAssistant
from homeassistant.helpers.backup import async_initialize_backup
from homeassistant.setup import async_setup_component
from tests.common import mock_platform
@@ -132,7 +131,6 @@ async def setup_backup_integration(
) -> dict[str, Mock]:
"""Set up the Backup integration."""
backups = backups or {}
async_initialize_backup(hass)
with (
patch("homeassistant.components.backup.is_hassio", return_value=with_hassio),
patch(