Ticket #2767 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

test_ident uses deprecated function log.flushErrors

Reported by: therve Owned by: therve
Priority: highest Milestone:
Component: core Keywords:
Cc: Branch:
Author: Launchpad Bug:

Description

Let's remove this.

Change History

Changed 3 years ago by therve

(In [20919])

  • Replace call to log.flushErrors
  • 80 cols, trailing whispaces
  • Unused import
  • Refactor one of the test: split it, and use assertFailure instead of relying on the synchoncity of the response.

Refs #2767

Changed 3 years ago by therve

Branch is test-ident-cleanups-2767.

Changed 3 years ago by therve

  • keywords review added
  • priority changed from low to highest
  • owner therve deleted

Changed 3 years ago by exarkun

  • owner set to therve
  • keywords review removed

Flawless

Changed 3 years ago by therve

  • status changed from new to closed
  • resolution set to fixed

(In [21374]) Merge test-ident-cleanups-2767

Author: therve Reviewer: exarkun Fixes #2767

Replace a call of log.flushErrors by flushLoggedErrors in twisted.test.test_ident, and make a bunch of cleanups in the process.

Note: See TracTickets for help on using tickets.