code: def testUpdatePipeline(self):
      # First create pipeline with test_pipeline.py
      pipeline_path_1 = os.path.join(
          self.chicago_taxi_pipeline_dir, "test_pipeline_local_1.py"
      )
      flags_dict_1 = {
          labels.ENGINE_FLAG: self.engine,
          labels.PIPELINE_DSL_PATH: pipeline_path_1,
      }
      handler = local_handler.LocalHandler(flags_dict_1)
      handler.create_pipeline()
  
      # Update test_pipeline and run update_pipeline
      pipeline_path_2 = os.path.join(
          self.chicago_taxi_pipeline_dir, "test_pipeline_local_2.py"
      )
      flags_dict_2 = {
          labels.ENGINE_FLAG: self.engine,
          labels.PIPELINE_DSL_PATH: pipeline_path_2,
      }
      handler = local_handler.LocalHandler(flags_dict_2)
      handler.update_pipeline()
      self.assertTrue(
          fileio.exists(
              handler._get_pipeline_args_path(self.pipeline_name)
          )
      )
  
imports: import json
  import os
  import subprocess
  import sys
  from unittest import mock
  import tensorflow
  from tfx.dsl.components.base import base_driver
  from tfx.dsl.io import fileio
  from tfx.tools.cli import labels
  from tfx.tools.cli.handler import local_handler
  from tfx.utils import test_case_utils
label_desc: Use image node_id 6 for calling the LocalHandlerTest obj's underlying member method code with example usage: obj.testUpdatePipeline() without return types