'A test run is still successful even if there are expected failures.'

def test_success(self):

    self.result.addExpectedFailure(self.test, Failure(Exception()), makeTodo('todo!'))
    self.assertEqual(True, self.result.wasSuccessful())
