code: def test_cv_api_correct():
      composer_params = {
          "max_depth": 1,
          "max_arity": 2,
          "pop_size": 3,
          "num_of_generations": 1,
          "preset": "fast_train",
          "cv_folds": 2,
          "show_progress": False,
          "timeout": 0.3,
      }
      dataset_to_compose, dataset_to_validate = train_test_data_setup(
          get_classification_data()
      )
      model = Fedot(
          problem="classification",
          logging_level=logging.DEBUG,
          **composer_params,
      )
      fedot_model = model.fit(features=dataset_to_compose)
      prediction = model.predict(features=dataset_to_validate)
      metric = model.get_metrics(metric_names="f1", rounding_order=1)
  
      assert isinstance(fedot_model, Pipeline)
      assert len(prediction) == len(dataset_to_validate.target)
      assert metric["f1"] > 0
  
imports: import logging
  from datetime import timedelta
  import pytest
  from golem.core.tuning.simultaneous import SimultaneousTuner
  from fedot import Fedot
  from fedot.core.data.data import InputData
  from fedot.core.data.data_split import train_test_data_setup
  from fedot.core.optimisers.objective import PipelineObjectiveEvaluate
  from fedot.core.optimisers.objective.data_source_splitter import DataSourceSplitter
  from fedot.core.optimisers.objective.metrics_objective import MetricsObjective
  from fedot.core.pipelines.node import PipelineNode
  from fedot.core.pipelines.pipeline import Pipeline
  from fedot.core.pipelines.pipeline_composer_requirements import PipelineComposerRequirements
  from fedot.core.pipelines.tuning.tuner_builder import TunerBuilder
  from fedot.core.repository.operation_types_repository import OperationTypesRepository
  from fedot.core.repository.metrics_repository import ClassificationMetricsEnum
  from fedot.core.repository.tasks import Task, TaskTypesEnum
  from fedot.core.utils import fedot_project_root
  from test.integration.models.test_model import classification_dataset
  from test.unit.tasks.test_classification import get_iris_data, pipeline_simple
label_desc: Use image node_id 6 for calling a global function with example usage: test_cv_api_correct() without return types