'C{setUp} is excluded from the failure expectation defined by a C{todo}
attribute on a test method.'

def test_expectedSetUpFailure(self):

    self.loadSuite(self.SetUpTodo)
    self.suite(self.reporter)
    self.assertFalse(self.reporter.wasSuccessful())
    self.assertEqual(len(self.reporter.errors), 1)
    self.assertEqual(self.reporter.failures, [])
    self.assertEqual(self.reporter.skips, [])
    self.assertEqual(len(self.reporter.expectedFailures), 0)
    self.assertEqual(len(self.reporter.unexpectedSuccesses), 0)
    self.assertEqual(self.reporter.successes, 0)
