'When a test method raises L{SynchronousTestCase.failureException}, the test is
marked as having failed on the L{TestResult}.'

def test_failingExceptionFails(self):

    result = pyunit.TestResult()
    self.suite.run(result)
    self.assertFalse(result.wasSuccessful())
    self.assertEqual(result.errors, [])
    self.assertEqual(len(result.failures), 1)
    self.assertEqual(result.failures[0][0], self.test)
