'wasSuccessful() becomes False after errors have been reported.'

def test_wasSuccessfulFalseAfterErrors(self):

    try:
        (1 / 0)
    except ZeroDivisionError:
        self.result.addError(self.test, sys.exc_info())
    self.assertEqual(False, self.result.wasSuccessful())
