-
Notifications
You must be signed in to change notification settings - Fork 306
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use logger.exception instead of logger.warning to handle keyring failures Add related test * Revert logging back to warning Update tests * Add changelog entry * Parameterize test * Use re.search for caplog * Group similar tests * Rework missing HOME setup * Refactor fixtures * Normalize prompt tests * Fix incorrect non-interactive test * Reload keyring to reproduce test failure * Patch pwd instead of os * Make assertions more specific * Move monkeypatch to keyring * Test attributes instead of methods * Use more specific log messages * Normalize keyring monkeypatch Co-authored-by: Federico D'Ambrosio <[email protected]> Co-authored-by: Brian Rutledge <[email protected]>
- Loading branch information
1 parent
d30df70
commit 62f3c67
Showing
3 changed files
with
81 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Improve logging when keyring fails. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters