Is it possible to just print out all AssertionErrors in a unittest? I don't want to catch the exception like this:
try:
self.assertIn(rdt), self.rdts, 'rdt %s not valid (only %s allowed) '
'at FID %d ' % (rdt, self.rdts, self.rd_fid,))
except AssertionError, ass:
print '%s' % ass
pass
I was thinking of a configuration option, that basically says print all errors but complete the test anyway.