mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-19 12:39:14 +00:00
Include entry type in search results
This commit is contained in:
@@ -17,7 +17,9 @@ class DummyPM:
|
||||
list_entries=lambda sort_by="index", filter_kind=None, include_archived=False: [
|
||||
(1, "Label", "user", "url", False)
|
||||
],
|
||||
search_entries=lambda q, kinds=None: [(1, "GitHub", "user", "", False)],
|
||||
search_entries=lambda q, kinds=None: [
|
||||
(1, "GitHub", "user", "", False, EntryType.PASSWORD)
|
||||
],
|
||||
retrieve_entry=lambda idx: {"type": EntryType.PASSWORD.value, "length": 8},
|
||||
get_totp_code=lambda idx, seed: "123456",
|
||||
add_entry=lambda label, length, username, url, **kwargs: 1,
|
||||
|
Reference in New Issue
Block a user