code: def test_incorrect_node_after_decompose_operation():
      """
      The regression model should be next after class_decompose operation.
      If it doesn't, then the pipelining is incorrect
      """
      current_pipeline = correct_decompose_pipeline()
      for node in current_pipeline.nodes:
          if node.operation.operation_type == "rfr":
              # Replace regression model with classification one
              node.operation.operation_type = "lda"
  
      with pytest.raises(ValueError) as exc:
          has_no_conflicts_after_class_decompose(current_pipeline)
  
      expected_error = f"{PIPELINE_ERROR_PREFIX} After classification decompose it is required to use regression model"
      assert str(exc.value) == expected_error
  
imports: import pytest
  from fedot.core.pipelines.node import PipelineNode
  from fedot.core.pipelines.pipeline import Pipeline
  from fedot.core.pipelines.verification import verify_pipeline
  from fedot.core.pipelines.verification_rules import has_correct_operations_for_task, has_final_operation_as_model, has_no_conflicts_in_decompose, has_no_conflicts_with_data_flow, has_no_data_flow_conflicts_in_ts_pipeline, has_primary_nodes, only_non_lagged_operations_are_primary, has_correct_data_sources, has_parent_contain_single_resample, has_no_conflicts_during_multitask, has_no_conflicts_after_class_decompose
  from fedot.core.repository.tasks import Task, TaskTypesEnum
  from golem.core.dag.verification_rules import has_no_cycle
label_desc: Use image node_id 25 for calling a global function with example usage: test_incorrect_node_after_decompose_operation() without return types