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

Adjust language in backup integration (#134440)

* Adjust language in backup integration

* Update tests
This commit is contained in:
Erik Montnemery
2025-01-02 13:29:46 +01:00
committed by GitHub
parent c5865c6d18
commit 0c3489c1b3
4 changed files with 9 additions and 9 deletions

View File

@@ -121,7 +121,7 @@ async def test_async_create_backup(
assert create_backup.called
assert create_backup.call_args == call(
agent_ids=["backup.local"],
backup_name="Custom 2025.1.0",
backup_name="Custom backup 2025.1.0",
extra_metadata={
"instance_id": hass.data["core.uuid"],
"with_automatic_settings": False,
@@ -254,7 +254,7 @@ async def test_async_initiate_backup(
ws_client = await hass_ws_client(hass)
include_database = params.get("include_database", True)
name = params.get("name", "Custom 2025.1.0")
name = params.get("name", "Custom backup 2025.1.0")
password = params.get("password")
path_glob.return_value = []
@@ -502,7 +502,7 @@ async def test_async_initiate_backup_with_agent_error(
"folders": [],
"homeassistant_included": True,
"homeassistant_version": "2025.1.0",
"name": "Custom 2025.1.0",
"name": "Custom backup 2025.1.0",
"protected": False,
"size": 123,
"with_automatic_settings": False,