testtools-dev team mailing list archive
-
testtools-dev team
-
Mailing list archive
-
Message #00781
[Bug 812793] Re: Failures and errors mask explicitly added details named 'traceback'
** Tags added: details
--
You received this bug notification because you are a member of testtools
developers, which is subscribed to testtools.
https://bugs.launchpad.net/bugs/812793
Title:
Failures and errors mask explicitly added details named 'traceback'
Status in testtools:
Triaged
Bug description:
If you run the following test:
def test_foo(self):
self.addDetail('traceback', text_content('foo'))
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'.
To manage notifications about this bug go to:
https://bugs.launchpad.net/testtools/+bug/812793/+subscriptions
References