Logging Handler to Raise Exceptions for use during unit tests
Registered by
Joe Gordon
By default the logging module just prints exception raised during logging to stderr. But when running unit tests we want actually raise these exceptions so we can test for them.
http://
Blueprint information
- Status:
- Not started
- Approver:
- Doug Hellmann
- Priority:
- Medium
- Drafter:
- Joe Gordon
- Direction:
- Approved
- Assignee:
- Joe Gordon
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Joe and I discussed implementing this as a feature of the test base class, rather than in the logging code directly, so production systems don't ever throw errors from logging. - dhellmann
Gerrit topic: https:/
Addressed by: https:/
Fixture to reraise exceptions raised during logging
(?)