Run sync in background for TUI actions

This commit is contained in:
thePR0M3TH3AN committed 2025-07-14 14:16:59 -04:00
1 parent a8ba99875f
commit ba066bf0d4
4 files changed
+38 -12

No files matched your search

+6
View File
@@ -71,6 +71,12 @@ def test_manager_workflow(monkeypatch):
)
monkeypatch.setattr("builtins.input", lambda *args, **kwargs: next(inputs))
monkeypatch.setattr(
pm,
"start_background_vault_sync",
lambda *a, **k: pm.sync_vault(*a, **k),
)
pm.handle_add_password()
assert pm.is_dirty is False
backups = list((tmp_path / "backups").glob("entries_db_backup_*.json.enc"))