77 lines
1.8 KiB
Plaintext
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',
|
|
})
|
|
# ---
|