Refactor sync trigger

This commit is contained in:
thePR0M3TH3AN committed 2025-07-11 22:42:12 -04:00
1 parent de92a80798
commit dcff360508
9 files changed
+32 -2

No files matched your search

+2
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"]