'Should return False if current process started by init.'

def test_returns_false_if_started_by_init(self):

    daemon.daemon.is_process_started_by_init.mock_returns = True
    expect_result = False
    result = daemon.daemon.is_detach_process_context_required()
    self.failUnlessIs(expect_result, result)
