Add entry archiving features and update menus

This commit is contained in:
thePR0M3TH3AN
2025-07-07 11:24:14 -04:00
parent 2d7d255f33
commit 8a7af94719
4 changed files with 113 additions and 24 deletions

View File

@@ -64,7 +64,7 @@ def test_empty_and_non_numeric_choice(monkeypatch, capsys):
def test_out_of_range_menu(monkeypatch, capsys):
called = {"add": False, "retrieve": False, "modify": False}
pm, _ = _make_pm(called)
inputs = iter(["9", ""])
inputs = iter(["10", ""])
monkeypatch.setattr(main, "timed_input", lambda *_: next(inputs))
with pytest.raises(SystemExit):
main.display_menu(pm, sync_interval=1000, inactivity_timeout=1000)