def test_daemonPIDFile(self):
        pidfile = self.mktemp()
        self.runner.setupEnvironment(None, ".", False, None, pidfile)
        fObj = file(pidfile)
        pid = int(fObj.read())
        fObj.close()
        self.assertEqual(pid, self.pid + 1)
L{UnixApplicationRunner.setupEnvironment} writes the daemonized
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_twistd.py/UnixApplicationRunnerSetupEnvironmentTests.test_daemonPIDFile