class_docstr: This test covers step 1~6 of the accompanying document[1] for taxi template.
  
  [1]https://github.com/tensorflow/tfx/blob/master/docs/tutorials/tfx/template.ipynb
class_docstr_tok: ["This","test","covers","step","1~6","of","the","accompanying","document","[","1","]","for","taxi","template",".","[","1","]","https",":","\/\/github.com\/tensorflow\/tfx\/blob\/master\/docs\/tutorials\/tfx\/template.ipynb"]
code: def testLocalPipeline(self):
      self._copyTemplate("taxi")
      os.environ["LOCAL_HOME"] = os.path.join(self._temp_dir, "local")
  
      # Create a pipeline with only one component.
      self._create_pipeline()
      self._run_pipeline()
  
      # Update the pipeline to include all components.
      updated_pipeline_file = self._addAllComponents()
      logging.info(
          "Updated %s to add all components to the pipeline.",
          updated_pipeline_file,
      )
      self._update_pipeline()
      self._run_pipeline()
  
      self._copy_schema()
  
      # Update the pipeline to use ImportSchemaGen
      self._uncomment(
          "local_runner.py", ["schema_path=generated_schema_path"]
      )
      self._replaceFileContent(
          "local_runner.py",
          [
              (
                  "schema_path=generated_schema_path",
                  "schema_path='schema.pbtxt'",
              )
          ],
      )
      logging.info("Updated pipeline to use user provided schema.")
      self._update_pipeline()
      self._run_pipeline()
  
file_path: tfx/tfx/experimental/templates/taxi/e2e_tests/local_e2e_test.py
imports: import os
  import subprocess
  import sys
  import unittest
  from absl import logging
  import tensorflow
  from tfx.experimental.templates import test_utils
label_desc: Use image node_id 2 for calling the TaxiTemplateLocalEndToEndTest obj's underlying member method code with example usage: obj.testLocalPipeline() without return types