def test_daemonize(self):
        with AlternateReactor(FakeDaemonizingReactor()):
            self.runner.setupEnvironment(None, ".", False, None, None)
        self.assertTrue(self.daemon)
Return the environment changes
dataset/ETHPy150Open twisted/twisted/twisted/test/test_twistd.py/UnixApplicationRunnerSetupEnvironmentTests.test_daemonize--crossover with--dataset/ETHPy150Open saltstack/salt/salt/states/cron.py/_check_cron_env