'The parent process initiating the C{daemonize} call reads data from the
status pipe and then exit the process.'

def test_successInParent(self):

    self.mockos.child = False
    self.mockos.readData = '0'
    with AlternateReactor(FakeDaemonizingReactor()):
        self.assertRaises(SystemError, self.runner.postApplication)
    self.assertEqual(self.mockos.actions, [('chdir', '.'), ('umask', 63), ('fork', True), ('read', (-1), 100), ('exit', 0), ('unlink', 'twistd.pid')])
    self.assertEqual(self.mockos.closed, [(-1)])
