Add test snapshots

pull/136051/head
Erik 2025-01-20 10:21:10 +01:00
parent 120afe12a9
commit b4d797d1e5
1 changed files with 58 additions and 0 deletions

View File

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