Ticket #5946 enhancement new
Almost all twisted.test.test_log tests should use custom LogPublisher instance, rather than global publisher
| Reported by: | itamar | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | core | Keywords: | |
| Cc: | exarkun | Branch: | |
| Author: | Launchpad Bug: |
Description
Some test_log create a new LogPublisher for their tests; this is useful among other reasons because it doesn't require TestCase.flushLoggedErrors because there's no interaction with global logging state. There are some existing tests that don't do so, and should be ported.
This may require moving functionality from twisted.python.log.err to twisted.python.log.LogPublisher.err.
Change History
Note: See
TracTickets for help on using
tickets.
