hass-core/tests/components/backup
Joakim Sørensen 31dcc25ba5
Add handler to restore a backup file with the backup integration (#128365)
* Early pushout of restore handling for core/container

* Adjust after rebase

* Move logging definition, we should only do this if we go ahead with the restore

* First round

* More paths

* Add async_restore_backup to base class

* Block restore of new backup files

* manager tests

* Add websocket test

* Add testing to main

* Add coverage for missing backup file

* Catch FileNotFoundError instead

* Patch Path.read_text instead

* Remove HA_RESTORE from keep

* Use secure paths

* Fix restart test

* extend coverage

* Mock argv

* Adjustments
2024-11-01 16:25:22 +01:00
..
snapshots Add handler to restore a backup file with the backup integration (#128365) 2024-11-01 16:25:22 +01:00
__init__.py
common.py Add empty line after module docstring [tests a-e] (#112708) 2024-03-08 08:50:25 -05:00
test_http.py Add BaseBackupManager as a common interface for backup managers (#126611) 2024-10-15 12:31:12 +02:00
test_init.py Add BaseBackupManager as a common interface for backup managers (#126611) 2024-10-15 12:31:12 +02:00
test_manager.py Add handler to restore a backup file with the backup integration (#128365) 2024-11-01 16:25:22 +01:00
test_websocket.py Add handler to restore a backup file with the backup integration (#128365) 2024-11-01 16:25:22 +01:00