'Run a test, and fail.'

def test_runFailure(self):

    results = []
    failClass = fullyQualifiedName(RuntimeError)
    d = self.worker.callRemote(managercommands.AddFailure, testName=self.testName, fail='fail', failClass=failClass.encode('ascii'), frames=[])
    d.addCallback((lambda result: results.append(result['success'])))
    self.pumpTransports()
    self.assertEqual(self.testCase, self.result.failures[0][0])
    self.assertTrue(results)
