'Create local worker protocol instances and return them.
@param protocols: An iterable of L{LocalWorkerAMP} instances.
@param workingDirectory: The base path in which we should run the
workers.
@type workingDirectory: C{str}
@return: A list of C{quantity} C{LocalWorker} instances.'

def createLocalWorkers(self, protocols, workingDirectory):

    return [LocalWorker(protocol, os.path.join(workingDirectory, str(x)), self._logFile) for (x, protocol) in enumerate(protocols)]
