Fix menu numbering and add list entries test

This commit is contained in:
thePR0M3TH3AN
2025-07-05 09:34:45 -04:00
parent ce90e7348f
commit ed00cbc34b
6 changed files with 53 additions and 10 deletions

View File

@@ -31,7 +31,7 @@ def test_auto_sync_triggers_post(monkeypatch):
called = True
monkeypatch.setattr(main, "handle_post_to_nostr", fake_post)
monkeypatch.setattr(main, "timed_input", lambda *_: "7")
monkeypatch.setattr(main, "timed_input", lambda *_: "8")
with pytest.raises(SystemExit):
main.display_menu(pm, sync_interval=0.1)