class_docstr: Test RuntimePipeline in Pipeline
class_docstr_tok: ["Test","RuntimePipeline","in","Pipeline"]
code: def test_map_dup(self):
      p = (
          pipe.input("a")  # 10
          .map("a", "b", p1)  # 110
          .map(("a", "b"), "c", p3)  # 120
          .map("c", "c", p2)  # 121+120=241
          .output("c")
      )
      res = p(10).get()
      self.assertEqual(res, [241])
  
      p = (
          pipe.input("a")  # 10
          .map("a", "a", p1)  # 110
          .map(("a", "a"), "a", p3)  # 220
          .map("a", "a", p2)  # 221+220=441
          .output("a")
      )
      res = p(10).get()
      self.assertEqual(res, [441])
  
file_path: towhee/tests/unittests/runtime/test_dag_pipeline.py
imports: import unittest
  from towhee import pipe
label_desc: Use image node_id 2 for calling the TestDAGPipeline obj's underlying member method code with example usage: obj.test_map_dup() without return types