'Should have detach_process option derived from environment.'

def test_has_derived_detach_process(self):

    args = dict()
    func = daemon.daemon.is_detach_process_context_required
    expect_value = func()
    instance = daemon.daemon.DaemonContext(**args)
    self.failUnlessEqual(expect_value, instance.detach_process)
