code: def _valid_run_and_check(self, pipeline_name):
      result = self.runner.invoke(
          cli_group,
          [
              "run",
              "create",
              "--engine",
              "local",
              "--pipeline_name",
              pipeline_name,
          ],
      )
      self.assertIn("CLI", result.output)
      self.assertNotIn(
          'Pipeline "{}" does not exist.'.format(pipeline_name),
          result.output,
      )
      self.assertIn(
          "Creating a run for pipeline: {}".format(pipeline_name),
          result.output,
      )
  
imports: import codecs
  import locale
  import os
  from absl import logging
  from click import testing
  import tensorflow
  from tfx.dsl.io import fileio
  from tfx.tools.cli.cli_main import cli_group
  from tfx.utils import io_utils
  from tfx.utils import test_case_utils
label_desc: Use image node_id 9 for calling the CliLocalEndToEndTest obj's underlying member method code with example usage: obj._valid_run_and_check(pipeline_name) without return types