Add entry actions menu

This commit is contained in:
thePR0M3TH3AN
2025-07-08 10:53:06 -04:00
parent d6364cd5ac
commit 59662e5589
3 changed files with 100 additions and 13 deletions

View File

@@ -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()