code: def testTaxiPipelineBeam(self):
      LocalDagRunner().run(
          taxi_pipeline_local._create_pipeline(
              pipeline_name=self._pipeline_name,
              data_root=self._data_root,
              module_file=self._module_file,
              serving_model_dir=self._serving_model_dir,
              pipeline_root=self._pipeline_root,
              metadata_path=self._metadata_path,
              beam_pipeline_args=[],
          )
      )
  
      self.assertTrue(fileio.exists(self._serving_model_dir))
      self.assertTrue(fileio.exists(self._metadata_path))
      metadata_config = metadata.sqlite_metadata_connection_config(
          self._metadata_path
      )
      with metadata.Metadata(metadata_config) as m:
          artifact_count = len(m.store.get_artifacts())
          execution_count = len(m.store.get_executions())
          self.assertGreaterEqual(artifact_count, execution_count)
          self.assertEqual(10, execution_count)
  
      self.assertPipelineExecution()
  
file_path: tfx/tfx/examples/chicago_taxi_pipeline/taxi_pipeline_local_e2e_test.py
imports: import os
  from absl.testing import parameterized
  import tensorflow
  from tfx.dsl.io import fileio
  from tfx.examples.chicago_taxi_pipeline import taxi_pipeline_local
  from tfx.orchestration import metadata
  from tfx.orchestration.local.local_dag_runner import LocalDagRunner
label_desc: Use image node_id 4 for calling the TaxiPipelineLocalEndToEndTest obj's underlying member method code with example usage: obj.testTaxiPipelineBeam() without return types