mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-11-06 04:42:35 +00:00
Run sync in background for TUI actions
This commit is contained in:
1 parent
a8ba99875f
commit
ba066bf0d4
4 files changed
+38
-12
No files matched your search
@@ -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"))
|
||||
|
||||
Reference in new issue
Block a user