Refactor sync trigger

This commit is contained in:
thePR0M3TH3AN
2025-07-11 22:42:12 -04:00
parent de92a80798
commit dcff360508
9 changed files with 32 additions and 2 deletions

View File

@@ -22,5 +22,7 @@ def test_unlock_triggers_sync(monkeypatch, tmp_path):
monkeypatch.setattr(PasswordManager, "sync_index_from_nostr", fake_sync)
pm.unlock_vault()
pm.start_background_sync()
time.sleep(0.05)
assert called["sync"]