'When the child writes an error message to the status pipe
during daemonization, the parent writes the repr of the
message to C{stderr} and exits with non-zero status code.'

def test_errorInParent(self):

    self.assertErrorInParentBehavior(readData='1    Exception:    An    identified    error', errorMessage="An    error    has    occurred:    b'Exception:    An    identified    error'\nPlease    look    at    log    file    for    more    information.\n", mockOSActions=[('chdir', '.'), ('umask', 63), ('fork', True), ('read', (-1), 100), ('exit', 1), ('unlink', 'twistd.pid')])
