code: def preprocessing_files_before_and_after_tests(request):
      paths = [
          "test_fitted_pipeline_convert_to_json",
          "test_import_json_to_pipeline_correctly_1",
          "test_empty_pipeline_convert_to_json",
          "test_pipeline_convert_to_json",
          "test_export_pipeline_to_json_correctly",
          "test_import_json_to_pipeline_correctly_2",
          "test_fitted_pipeline_cache_correctness_after_export_and_import",
          "test_import_json_to_fitted_pipeline_correctly",
          "test_export_import_for_one_pipeline_object_correctly_1",
          "test_export_import_for_one_pipeline_object_correctly_2",
          "data_model_forecasting",
          "test_export_import_for_one_pipeline_object_correctly_3",
          "data_model_classification",
          "test_absolute_relative_paths_correctly_no_exception",
          "test_export_one_hot_encoding_operation",
          "test_import_custom_json_object_to_pipeline_and_fit_correctly_no_exception",
          "test_save_pipeline_with_np_int_type",
          "test_pipeline_with_preprocessing_serialized_correctly",
          "test_multimodal_pipeline_serialized_correctly",
          "test_load_though_api_perform_correctly",
          "test_save_load_with_the_same_path",
          "test_save_with_index",
          "test_save_with_timestamp",
          "test_save_with_final_dir",
      ]
  
      delete_files = create_func_delete_files(paths)
      delete_files()
      create_json_models_files()
      request.addfinalizer(delete_files)
  
imports: import json
  import os
  import shutil
  import numpy
  import pytest
  from sklearn.metrics import mean_absolute_error
  from fedot import Fedot
  from fedot.core.pipelines.node import PipelineNode
  from fedot.core.pipelines.pipeline import Pipeline
  from fedot.core.pipelines.template import PipelineTemplate, extract_subtree_root
  from fedot.core.repository.tasks import Task, TaskTypesEnum
  from fedot.core.utils import fedot_project_root
  from test.integration.api.test_main_api import get_dataset
  from test.unit.data_operations.test_data_operations_implementations import get_mixed_data
  from test.unit.multimodal.data_generators import get_single_task_multimodal_tabular_data
  from test.unit.pipelines.test_decompose_pipelines import get_classification_data
  from test.unit.preprocessing.test_preprocessing_through_api import data_with_spaces_and_nans_in_features
  from test.unit.tasks.test_forecasting import get_multiscale_pipeline, get_simple_ts_pipeline, get_ts_data
label_desc: Use image node_id 1 for calling a global function with example usage: preprocessing_files_before_and_after_tests(request) without return types