Ottimizza controllo stabilita file in batch

This commit is contained in:
2026-08-13 10:02:03 +02:00
parent 6b356e8983
commit 6fa96f8abe
4 changed files with 152 additions and 30 deletions

View File

@@ -27,5 +27,6 @@ def test_notifier_task_runs_every_30_minutes() -> None:
def test_backup_task_uses_logoff_event_and_nogui_backup() -> None:
xml = (Path("tasks") / "BakRestBackupOnLogoff.xml").read_text(encoding="utf-8")
assert "EventID=4647" in xml
assert "Microsoft-Windows-Winlogon" in xml
assert "EventID=7002" in xml
assert "-m bakrest.tray_app --nogui" in xml