mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-11-09 14:22:26 +00:00
Prompt for per-entry password policy
This commit is contained in:
1 parent
d8cb21e527
commit
b74c0993ca
4 files changed
+87
-1
No files matched your search
@@ -52,6 +52,14 @@ def test_handle_add_password(monkeypatch, dummy_nostr_client, capsys):
|
||||
"", # tags
|
||||
"n", # add custom field
|
||||
"", # length (default)
|
||||
"", # include special default
|
||||
"", # allowed special default
|
||||
"", # special mode default
|
||||
"", # exclude ambiguous default
|
||||
"", # min uppercase
|
||||
"", # min lowercase
|
||||
"", # min digits
|
||||
"", # min special
|
||||
]
|
||||
)
|
||||
monkeypatch.setattr("builtins.input", lambda *a, **k: next(inputs))
|
||||
@@ -113,6 +121,14 @@ def test_handle_add_password_secret_mode(monkeypatch, dummy_nostr_client, capsys
|
||||
"", # tags
|
||||
"n", # add custom field
|
||||
"", # length (default)
|
||||
"", # include special default
|
||||
"", # allowed special default
|
||||
"", # special mode default
|
||||
"", # exclude ambiguous default
|
||||
"", # min uppercase
|
||||
"", # min lowercase
|
||||
"", # min digits
|
||||
"", # min special
|
||||
]
|
||||
)
|
||||
monkeypatch.setattr("builtins.input", lambda *a, **k: next(inputs))
|
||||
|
||||
@@ -57,6 +57,14 @@ def test_manager_workflow(monkeypatch):
|
||||
"", # tags
|
||||
"n", # add custom field
|
||||
"", # length (default)
|
||||
"", # include special default
|
||||
"", # allowed special default
|
||||
"", # special mode default
|
||||
"", # exclude ambiguous default
|
||||
"", # min uppercase
|
||||
"", # min lowercase
|
||||
"", # min digits
|
||||
"", # min special
|
||||
"0", # retrieve index
|
||||
"", # no action in entry menu
|
||||
"0", # modify index
|
||||
|
||||
Reference in new issue
Block a user