Failures and errors mask explicitly added details named 'traceback'
Bug #812793 reported by
Jonathan Lange
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
testtools |
Fix Released
|
Medium
|
Robert Collins |
Bug Description
If you run the following test:
def test_foo(self):
self.
self.fail('bar')
You'll only see the failure 'bar' and will not see the attached text content 'foo'. This is because addFailure will always name its attachment 'traceback'.
Related branches
lp:~lifeless/testtools/bug-812793
- Jonathan Lange: Approve
-
Diff: 71 lines (+29/-4)3 files modifiedNEWS (+7/-0)
testtools/testcase.py (+6/-3)
testtools/tests/test_testcase.py (+16/-1)
tags: | added: details |
Changed in testtools: | |
assignee: | nobody → Robert Collins (lifeless) |
milestone: | none → next |
status: | Triaged → Fix Committed |
Changed in testtools: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.