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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user