code: def testPipelineDeprecatedFlags(self):
      result = self.runner.invoke(
          pipeline_group,
          [
              "create",
              "--pipeline_path",
              "chicago.py",
              "--skaffold-cmd",
              "skaffold",
          ],
      )
      self.assertIn("skaffold-cmd", result.output)
      self.assertNotEqual(0, result.exit_code)
  
      result = self.runner.invoke(
          pipeline_group,
          [
              "create",
              "--pipeline_path",
              "chicago.py",
              "--build-target-image",
              "tf/tfx",
          ],
      )
      self.assertIn("build-target-image", result.output)
      self.assertNotEqual(0, result.exit_code)
  
      result = self.runner.invoke(
          pipeline_group,
          [
              "create",
              "--pipeline_path",
              "chicago.py",
              "--pipeline-package-path",
              "a.tar.gz",
          ],
      )
      self.assertIn("pipeline-package-path", result.output)
      self.assertNotEqual(0, result.exit_code)
  
      result = self.runner.invoke(
          pipeline_group,
          [
              "update",
              "--pipeline-path",
              "chicago.py",
              "--engine",
              "kubeflow",
              "--endpoint",
              "endpoint_url",
              "--pipeline-package-path",
              "a.tar.gz",
          ],
      )
      self.assertIn("pipeline-package-path", result.output)
      self.assertNotEqual(0, result.exit_code)
  
      result = self.runner.invoke(
          pipeline_group,
          [
              "compile",
              "--pipeline-path",
              "chicago.py",
              "--engine",
              "kubeflow",
              "--pipeline-package-path",
              "a.tar.gz",
          ],
      )
      self.assertIn("pipeline-package-path", result.output)
      self.assertNotEqual(0, result.exit_code)
  
imports: import codecs
  import locale
  import os
  from unittest import mock
  from click import testing
  import tensorflow
  from tfx.tools.cli.commands.pipeline import pipeline_group
  from tfx.tools.cli.handler import handler_factory
  from tfx.utils import test_case_utils
label_desc: Use image node_id 12 for calling the PipelineTest obj's underlying member method code with example usage: obj.testPipelineDeprecatedFlags() without return types