code: def test_get_separate_parent_node(nodes, node_factory):
      _, _, secondary_node = nodes
      new_separate_parent_node = node_factory.get_parent_node(
          secondary_node, is_primary=True
      )
  
      assert new_separate_parent_node is not None
      assert new_separate_parent_node.content[
          "name"
      ] in node_factory.graph_model_repository.get_operations(
          is_primary=True
      )
      assert (
          new_separate_parent_node.content["name"]
          != secondary_node.content["name"]
      )
  
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 5 for calling a global function with example usage: test_get_separate_parent_node(nodes, node_factory) without return types