code: def testPipelineList(self):
      # Create pipelines.
      self._valid_create_and_check(
          self._pipeline_path, self._pipeline_name
      )
      self._valid_create_and_check(
          self._pipeline_path_v2, self._pipeline_name_v2
      )
      self.addCleanup(self._cleanup_kfp_server, self._pipeline_name_v2)
  
      # List pipelines.
      result = test_utils.run_cli(
          [
              "pipeline",
              "list",
              "--engine",
              "kubeflow",
              "--endpoint",
              self._endpoint,
          ]
      )
      self.assertIn("Listing all pipelines", result)
      self.assertIn(self._pipeline_name, result)
      self.assertIn(self._pipeline_name_v2, result)
  
imports: import codecs
  import locale
  import os
  import subprocess
  import sys
  from typing import Optional
  import absl
  from google.cloud import storage
  import kfp
  import kfp_server_api
  import tensorflow
  from tfx.dsl.io import fileio
  from tfx.tools.cli import labels
  from tfx.tools.cli import pip_utils
  from tfx.tools.cli.e2e import test_utils
  from tfx.utils import retry
  from tfx.utils import test_case_utils
label_desc: Use image node_id 17 for calling the CliKubeflowEndToEndTest obj's underlying member method code with example usage: obj.testPipelineList() without return types