'When setUp fails, the error is recorded in the result object.'

def test_brokenSetUp(self):

    suite = self.loader.loadTestsFromTestCase(self.TestFailureInSetUp)
    suite.run(self.reporter)
    self.assertTrue((len(self.reporter.errors) > 0))
    self.assertIsInstance(self.reporter.errors[0][1].value, erroneous.FoolishError)
    self.assertEqual(0, self.reporter.successes)
