Move responsibility for running cleanups to RunTest
Bug #662647 reported by
Jonathan Lange
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
testtools |
Fix Released
|
Wishlist
|
Jonathan Lange |
Bug Description
Right now, RunTest simply tells the TestCase to run cleanups. It would be more consistent with setUp, tearDown etc if RunTest instead asked the TestCase for a list of cleanups and then ran it themselves.
Related branches
lp:~jml/testtools/cleanups-to-runtest
- testtools developers: Pending requested
-
Diff: 249 lines (+61/-59)5 files modifiedNEWS (+4/-0)
testtools/__init__.py (+1/-1)
testtools/runtest.py (+54/-19)
testtools/testcase.py (+0/-37)
testtools/tests/test_testresult.py (+2/-2)
Changed in testtools: | |
assignee: | nobody → Jonathan Lange (jml) |
status: | Triaged → In Progress |
Changed in testtools: | |
status: | In Progress → Fix Committed |
Changed in testtools: | |
milestone: | none → next |
Changed in testtools: | |
importance: | Low → Wishlist |
Changed in testtools: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.