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

def test_wasSuccessfulFalseAfterFailures(self):

    try:
        self.fail('foo')
    except self.failureException:
        self.result.addFailure(self.test, sys.exc_info())
    self.assertEqual(False, self.result.wasSuccessful())
