'Adding a failure using L{WorkerReporter.addFailure} as a
C{sys.exc_info}-style tuple sends an L{managercommands.AddFailure}
message.'

def test_addFailureTuple(self):

    self.workerReporter.addFailure(self.test, (RuntimeError, RuntimeError('fail'), None))
    self.assertEqual(self.fakeAMProtocol.lastCall, managercommands.AddFailure)
