Fix Windows TOTP and PGP issues

This commit is contained in:
thePR0M3TH3AN
2025-07-05 14:28:40 -04:00
parent 22d91f66d7
commit a5f46f356f
7 changed files with 245 additions and 23 deletions

View File

@@ -50,7 +50,7 @@ def test_handle_display_totp_codes(monkeypatch, capsys):
# interrupt the loop after first iteration
monkeypatch.setattr(
"password_manager.manager.select.select",
"password_manager.manager.timed_input",
lambda *a, **k: (_ for _ in ()).throw(KeyboardInterrupt()),
)
@@ -91,7 +91,7 @@ def test_display_totp_codes_excludes_blacklisted(monkeypatch, capsys):
)
monkeypatch.setattr(
"password_manager.manager.select.select",
"password_manager.manager.timed_input",
lambda *a, **k: (_ for _ in ()).throw(KeyboardInterrupt()),
)