mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-12-24 12:29:08 +00:00
Update cache if a backup file is missing (#5596)
* Update cache if a backup file is missing * Remove references to single file reload
This commit is contained in:
@@ -222,9 +222,7 @@ async def test_core_backup_cleanup(
|
||||
|
||||
# Put an old and new backup in folder
|
||||
copy(get_fixture_path("backup_example.tar"), coresys.config.path_core_backup)
|
||||
await coresys.backups.reload(
|
||||
location=".cloud_backup", filename="backup_example.tar"
|
||||
)
|
||||
await coresys.backups.reload()
|
||||
assert (old_backup := coresys.backups.get("7fed74c8"))
|
||||
new_backup = await coresys.backups.do_backup_partial(
|
||||
name="test", folders=["ssl"], location=".cloud_backup"
|
||||
|
||||
Reference in New Issue
Block a user