code: def test_get_child_node(node_factory):
      new_child_node = node_factory.get_node(is_primary=False)
  
      assert new_child_node is not None
      assert new_child_node.content[
          "name"
      ] in node_factory.graph_model_repository.get_operations(
          is_primary=False
      )
  
file_path: FEDOT/test/unit/pipelines/test_pipeline_node_factory.py
imports: import pytest
  from fedot.core.pipelines.pipeline_composer_requirements import PipelineComposerRequirements
  from golem.core.optimisers.graph import OptNode
  from fedot.core.pipelines.pipeline_advisor import PipelineChangeAdvisor
  from fedot.core.pipelines.pipeline_node_factory import PipelineOptNodeFactory
  from fedot.core.repository.tasks import Task, TaskTypesEnum
label_desc: Use image node_id 6 for calling a global function with example usage: test_get_child_node(node_factory) without return types