RabbitServerResources.tearDown is never called
Bug #847889 reported by
Gavin Panella
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rabbitfixture |
Fix Released
|
Low
|
Gavin Panella |
Bug Description
RabbitServerRes
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
lp:~allenap/rabbitfixture/not-tearDown
- Gavin Panella: Approve
-
Diff: 16 lines (+0/-6)1 file modifiedrabbitfixture/server.py (+0/-6)
Changed in rabbitfixture: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in rabbitfixture: | |
assignee: | nobody → Gavin Panella (allenap) |
status: | Triaged → In Progress |
Changed in rabbitfixture: | |
status: | In Progress → Fix Committed |
Changed in rabbitfixture: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Right, you can override cleanUp when needed but it should be rarely,
if ever, the right thing to do.