use unittest.fail(error) instead of unittest.failUnless(False)
This way, test result report directly shows the error message, in the argument of the AssertionError that is raised. Yay for readability! git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33833 20353a03-c40f-0410-a6d1-a30d3c3de9de
Showing
Please register or sign in to comment