mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-11-02 10:52:05 +00:00
Add inactivity lock feature
This commit is contained in:
1 parent
1fc3a00531
commit
4801e2c33c
5 files changed
+97
-2
No files matched your search
@@ -14,10 +14,14 @@ def test_auto_sync_triggers_post(monkeypatch):
|
||||
pm = SimpleNamespace(
|
||||
is_dirty=True,
|
||||
last_update=time.time() - 0.2,
|
||||
last_activity=time.time(),
|
||||
nostr_client=SimpleNamespace(close_client_pool=lambda: None),
|
||||
handle_add_password=lambda: None,
|
||||
handle_retrieve_entry=lambda: None,
|
||||
handle_modify_entry=lambda: None,
|
||||
update_activity=lambda: None,
|
||||
lock_vault=lambda: None,
|
||||
unlock_vault=lambda: None,
|
||||
)
|
||||
|
||||
called = False
|
||||
|
||||
Reference in new issue
Block a user