mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-11-06 21:02:04 +00:00
Refactor sync trigger
This commit is contained in:
1 parent
de92a80798
commit
dcff360508
9 files changed
+32
-2
No files matched your search
@@ -34,6 +34,7 @@ def test_inactivity_triggers_lock(monkeypatch):
|
||||
update_activity=update_activity,
|
||||
lock_vault=lock_vault,
|
||||
unlock_vault=unlock_vault,
|
||||
start_background_sync=lambda: None,
|
||||
)
|
||||
|
||||
monkeypatch.setattr(main, "timed_input", lambda *_: "")
|
||||
@@ -70,6 +71,7 @@ def test_input_timeout_triggers_lock(monkeypatch):
|
||||
update_activity=update_activity,
|
||||
lock_vault=lock_vault,
|
||||
unlock_vault=unlock_vault,
|
||||
start_background_sync=lambda: None,
|
||||
)
|
||||
|
||||
responses = iter([TimeoutError(), ""])
|
||||
|
||||
Reference in new issue
Block a user