mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-10 00:09:04 +00:00
Add entry actions menu
This commit is contained in:
@@ -40,7 +40,7 @@ def test_archive_entry_from_retrieve(monkeypatch):
|
||||
|
||||
index = entry_mgr.add_entry("example.com", 8)
|
||||
|
||||
inputs = iter([str(index), "y"])
|
||||
inputs = iter([str(index), "a", ""])
|
||||
monkeypatch.setattr("builtins.input", lambda *a, **k: next(inputs))
|
||||
|
||||
pm.handle_retrieve_entry()
|
||||
@@ -72,7 +72,7 @@ def test_restore_entry_from_retrieve(monkeypatch):
|
||||
index = entry_mgr.add_entry("example.com", 8)
|
||||
entry_mgr.archive_entry(index)
|
||||
|
||||
inputs = iter([str(index), "y"])
|
||||
inputs = iter([str(index), "u", ""])
|
||||
monkeypatch.setattr("builtins.input", lambda *a, **k: next(inputs))
|
||||
|
||||
pm.handle_retrieve_entry()
|
||||
|
@@ -57,7 +57,7 @@ def test_manager_workflow(monkeypatch):
|
||||
"n", # add custom field
|
||||
"", # length (default)
|
||||
"0", # retrieve index
|
||||
"n", # archive entry prompt
|
||||
"", # no action in entry menu
|
||||
"0", # modify index
|
||||
"", # new label
|
||||
"user", # new username
|
||||
|
Reference in New Issue
Block a user