'L{LocalWorker} swallows the exceptions returned by the L{AMP} protocol
start method, as it generates unnecessary errors.'

def test_startError(self):

    def failCallRemote(command, directory):
        return fail(RuntimeError('oops'))
    transport = FakeTransport()
    protocol = FakeAMProtocol()
    protocol.callRemote = failCallRemote
    localWorker = LocalWorker(protocol, '.', 'test.log')
    localWorker.makeConnection(transport)
    self.assertEqual([], self.flushLoggedErrors(RuntimeError))
