code: def _valid_create_and_check(
      self, pipeline_path: str, pipeline_name: str
  ) -> None:
      result = test_utils.run_cli(
          [
              "pipeline",
              "create",
              "--engine",
              "kubeflow",
              "--pipeline_path",
              pipeline_path,
              "--endpoint",
              self._endpoint,
          ]
      )
      absl.logging.info("[CLI] %s", result)
      self.assertIn("Creating pipeline", result)
      self.assertIn(
          'Pipeline "{}" created successfully.'.format(pipeline_name),
          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 11 for calling the CliKubeflowEndToEndTest obj's underlying member method code with example usage: obj._valid_create_and_check(pipeline_path, pipeline_name) without return types