code: def test_text_data_only(data_type):
      """
      Checking cases when there is only one data source.
      """
      if data_type is DataTypesEnum.text:
          # Case when there is no table data in csv, but MultiModalData.from_csv() is used
          file_path = (
              "test/data/simple_multimodal_classification_text.csv"
          )
          data_source_name = "data_source_text/description"
      elif data_type is DataTypesEnum.table:
          # Case when there is no text data in csv, but MultiModalData.from_csv() is used
          file_path = "test/data/simple_classification.csv"
          data_source_name = "data_source_table"
  
      path = Path(fedot_project_root(), file_path)
      file_data = InputData.from_csv(path, data_type=DataTypesEnum.text)
      file_mm_data = MultiModalData.from_csv(path)
  
      assert len(file_mm_data) == 1
      assert file_mm_data[data_source_name].data_type is data_type
      assert (
          file_mm_data[data_source_name].features.all()
          == file_data.features.all()
      )
      assert (
          file_mm_data[data_source_name].target.all()
          == file_data.target.all()
      )
  
file_path: FEDOT/test/unit/data/test_multimodal_data.py
imports: import numpy
  import pandas
  import pytest
  from pathlib import Path
  from fedot import Fedot
  from fedot.core.data.data import InputData
  from fedot.core.data.multi_modal import MultiModalData
  from fedot.core.repository.dataset_types import DataTypesEnum
  from fedot.core.repository.tasks import Task, TaskTypesEnum
  from fedot.core.utils import fedot_project_root
label_desc: Use image node_id 4 for calling a global function with example usage: test_text_data_only(data_type) without return types