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

def test_returns_true_if_started_by_superserver(self):

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