code: def testEscapePipelineName(self):
      # pylint: disable=protected-access
      self.assertEqual(
          "x", template_handler._sanitize_pipeline_name("x")
      )
      self.assertEqual(
          "\\\\x\\'\\\"",
          template_handler._sanitize_pipeline_name("\\x'\""),
      )
      self.assertEqual(
          "a\\/b", template_handler._sanitize_pipeline_name("a/b")
      )
  
file_path: tfx/tfx/tools/cli/handler/template_handler_test.py
imports: import os
  import tensorflow
  from tfx.tools.cli import labels
  from tfx.tools.cli.handler import template_handler
label_desc: Use image node_id 3 for calling the TemplateHandlerTest obj's underlying member method code with example usage: obj.testEscapePipelineName() without return types