feat: add remote_public_keys_timeout option in order to set the time after which the retrieval of external public keys should be interrupted

This commit is contained in:
cătălin 2023-11-29 18:15:34 +01:00
commit 4fb1fff521
Signed by: catalin
GPG key ID: 0178DF42F43E5FD2
6 changed files with 16 additions and 7 deletions

View file

@ -26,7 +26,8 @@ def test_show_raises_note_path_is_not_age_valid(notes, settings: Settings):
def test_show_current_note(current_note, settings):
show_command = ShowCommand(
note_path=settings.notebooks_root_path, settings=settings,
note_path=settings.notebooks_root_path,
settings=settings,
)
assert show_command.note_path == current_note
assert show_command.decrypt() == "foo"