Add notes support for TOTP entries

This commit is contained in:
thePR0M3TH3AN
2025-07-07 15:19:42 -04:00
parent 90e1631efb
commit 467bdd3d04
4 changed files with 22 additions and 0 deletions

View File

@@ -47,6 +47,7 @@ def test_handle_add_totp(monkeypatch, capsys):
"Example", # label
"", # period
"", # digits
"", # notes
]
)
monkeypatch.setattr("builtins.input", lambda *args, **kwargs: next(inputs))
@@ -64,5 +65,6 @@ def test_handle_add_totp(monkeypatch, capsys):
"period": 30,
"digits": 6,
"archived": False,
"notes": "",
}
assert "ID 0" in out