mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-11-01 18:32:05 +00:00
Include entry type in search results
This commit is contained in:
1 parent
b4f792ad67
commit
dcd095d1af
21 files changed
+106
-63
No files matched your search
@@ -5,6 +5,7 @@ from typer.testing import CliRunner
|
||||
|
||||
from seedpass import cli
|
||||
from seedpass.cli import app
|
||||
from seedpass.core.entry_types import EntryType
|
||||
|
||||
runner = CliRunner()
|
||||
|
||||
@@ -34,7 +35,7 @@ def test_cli_entry_add_search_sync(monkeypatch):
|
||||
|
||||
def search_entries(q, kinds=None):
|
||||
calls["search"] = (q, kinds)
|
||||
return [(1, "Label", None, None, False)]
|
||||
return [(1, "Label", None, None, False, EntryType.PASSWORD)]
|
||||
|
||||
def start_background_vault_sync():
|
||||
calls["sync"] = True
|
||||
|
||||
Reference in new issue
Block a user