'Adding an error using L{WorkerReporter.addError} as a
C{sys.exc_info}-style tuple sends an L{managercommands.AddError}
command.'

def test_addErrorTuple(self):

    self.workerReporter.addError(self.test, (RuntimeError, RuntimeError('error'), None))
    self.assertEqual(self.fakeAMProtocol.lastCall, managercommands.AddError)
