class_docstr: Test RuntimePipeline in Pipeline
class_docstr_tok: ["Test","RuntimePipeline","in","Pipeline"]
code: def test_nested_pipelines(self):
      p = pipe.input("y").map("y", "f", p6).output("f")
      res = p(4).to_list()
      self.assertEqual(res, [[400]])
  
      p = pipe.input("y").map("y", "f", p7).output("f")
      res = p(4).to_list()
      self.assertEqual(res, [[10], [50], [40]])
  
file_path: towhee/tests/unittests/runtime/test_dag_pipeline.py
imports: import unittest
  from towhee import pipe
label_desc: Use image node_id 11 for calling the TestDAGPipeline obj's underlying member method code with example usage: obj.test_nested_pipelines() without return types