ZopeViewReplacementFixture.tearDown is never called

Bug #847738 reported by Gavin Panella
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Unassigned

Bug Description

ZopeViewReplacementFixture defines a tearDown method, but never
arranges for it to be called.

Some background: fixtures.Fixture does not look for a tearDown
method. Instead setUp should use addCleanup to arrange for tear down
functions to be called (or the fixture should override cleanUp, but I
suspect that wasn't the designer's intention).

Related branches

Gavin Panella (allenap)
summary: - ZopeViewReplacementFixture defines tearDown(), but Fixture doesn't care
+ ZopeViewReplacementFixture.tearDown is never called
Revision history for this message
Colin Watson (cjwatson) wrote :

mbp fixed this almost a decade ago in a drive-by fix as part of https://code.launchpad.net/~mbp/launchpad/885972-sendmail-timeline/+merge/82963.

Changed in launchpad:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.