1
0
mirror of https://github.com/home-assistant/core.git synced 2026-02-23 03:17:06 +00:00
Files
core/tests/components/backup/snapshots/test_onboarding.ambr
Erik Montnemery 0260a03447 Store information about add-ons and folders which could not be backed up (#145367)
* Store information about add-ons and folders which could not be backed up

* Address review comments
2025-05-26 16:07:33 +02:00

77 lines
1.8 KiB
Plaintext

# serializer version: 1
# name: test_onboarding_backup_info
dict({
'backups': list([
dict({
'addons': list([
dict({
'name': 'Test',
'slug': 'test',
'version': '1.0.0',
}),
]),
'agents': dict({
'backup.local': dict({
'protected': True,
'size': 0,
}),
}),
'backup_id': 'abc123',
'database_included': True,
'date': '1970-01-01T00:00:00.000Z',
'extra_metadata': dict({
'instance_id': 'abc123',
'with_automatic_settings': True,
}),
'failed_addons': list([
]),
'failed_agent_ids': list([
]),
'failed_folders': list([
]),
'folders': list([
'media',
'share',
]),
'homeassistant_included': True,
'homeassistant_version': '2024.12.0',
'name': 'Test',
'with_automatic_settings': True,
}),
dict({
'addons': list([
]),
'agents': dict({
'test.remote': dict({
'protected': True,
'size': 0,
}),
}),
'backup_id': 'def456',
'database_included': False,
'date': '1980-01-01T00:00:00.000Z',
'extra_metadata': dict({
'instance_id': 'unknown_uuid',
'with_automatic_settings': True,
}),
'failed_addons': list([
]),
'failed_agent_ids': list([
]),
'failed_folders': list([
]),
'folders': list([
'media',
'share',
]),
'homeassistant_included': True,
'homeassistant_version': '2024.12.0',
'name': 'Test 2',
'with_automatic_settings': None,
}),
]),
'last_action_event': None,
'state': 'idle',
})
# ---