Merge lp:~benji/launchpad/bug-992692 into lp:launchpad
Proposed by
Benji York
Status: | Merged |
---|---|
Approved by: | Benji York |
Approved revision: | no longer in the source branch. |
Merged at revision: | 15198 |
Proposed branch: | lp:~benji/launchpad/bug-992692 |
Merge into: | lp:launchpad |
Diff against target: |
15 lines (+5/-0) 1 file modified
lib/lp/testing/__init__.py (+5/-0) |
To merge this branch: | bzr merge lp:~benji/launchpad/bug-992692 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
j.c.sackett (community) | Approve | ||
Review via email:
|
Commit message
clear out any existing log handlers at the start of each test case so tests that add handlers don't effect those that depend on no handlers being registered.
Description of the change
Several tests add log handlers that transmute log entries into OOPSes. Some other tests then log things and expect there to be no OOPSes and generate test failures when that expectation is not met.
This branch clears out any existing handlers at the start of each test case.
The full test suite has been run with this change in place and all tests passed.
The "make lint" report is clean.
To post a comment you must log in.
Looks good. Thanks, Benji.