'Run a test, and encounter an error.'

def test_runError(self):

    results = []
    errorClass = fullyQualifiedName(ValueError)
    d = self.worker.callRemote(managercommands.AddError, testName=self.testName, error='error', errorClass=errorClass.encode('ascii'), frames=[])
    d.addCallback((lambda result: results.append(result['success'])))
    self.pumpTransports()
    self.assertEqual(self.testCase, self.result.errors[0][0])
    self.assertTrue(results)
