'Should return True if `stdin` is a socket.'

def test_returns_true_if_stdin_is_socket(self):

    self.mock_stdin_is_socket_func = (lambda : True)
    expect_result = True
    result = daemon.daemon.is_process_started_by_superserver()
    self.failUnlessIs(expect_result, result)
