mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-10 00:09:04 +00:00
Add notes support for TOTP entries
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user