Add vault sync and update Nostr restore

This commit is contained in:
thePR0M3TH3AN
2025-07-02 16:22:57 -04:00
parent ca88ccce57
commit 678cdbc5e6
7 changed files with 84 additions and 70 deletions

View File

@@ -60,7 +60,7 @@ def test_manager_workflow(monkeypatch):
monkeypatch.setattr("builtins.input", lambda *args, **kwargs: next(inputs))
pm.handle_add_password()
assert pm.is_dirty is True
assert pm.is_dirty is False
backups = list(tmp_path.glob("passwords_db_backup_*.json.enc"))
assert len(backups) == 1
checksum_file = tmp_path / "seedpass_passwords_db_checksum.txt"
@@ -73,7 +73,7 @@ def test_manager_workflow(monkeypatch):
assert pm.is_dirty is False
pm.handle_modify_entry()
assert pm.is_dirty is True
assert pm.is_dirty is False
pm.backup_manager.create_backup()
backup_dir = tmp_path / "backups"
backups_mod = list(backup_dir.glob("passwords_db_backup_*.json.enc"))