mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 04:50:05 +00:00
Include extra metadata in backup WS API (#137296)
* Include extra metadata in backup WS API * Update onboarding backup view * Update google_drive tests
This commit is contained in:
@@ -5,7 +5,7 @@ from __future__ import annotations
|
||||
from collections.abc import AsyncIterator, Callable, Coroutine, Iterable
|
||||
from pathlib import Path
|
||||
from typing import Any
|
||||
from unittest.mock import ANY, AsyncMock, Mock, patch
|
||||
from unittest.mock import AsyncMock, Mock, patch
|
||||
|
||||
from homeassistant.components.backup import (
|
||||
DOMAIN,
|
||||
@@ -29,7 +29,7 @@ TEST_BACKUP_ABC123 = AgentBackup(
|
||||
backup_id="abc123",
|
||||
database_included=True,
|
||||
date="1970-01-01T00:00:00.000Z",
|
||||
extra_metadata={"instance_id": ANY, "with_automatic_settings": True},
|
||||
extra_metadata={"instance_id": "our_uuid", "with_automatic_settings": True},
|
||||
folders=[Folder.MEDIA, Folder.SHARE],
|
||||
homeassistant_included=True,
|
||||
homeassistant_version="2024.12.0",
|
||||
|
||||
Reference in New Issue
Block a user