code: def test_file_system_record_set_data_channel():
      file_system_id = "fs-0a48d2a1"
      file_system_type = "EFS"
      directory_path = "ipinsights"
      num_records = 1
      feature_dim = 1
      record_set = FileSystemRecordSet(
          file_system_id=file_system_id,
          file_system_type=file_system_type,
          directory_path=directory_path,
          num_records=num_records,
          feature_dim=feature_dim,
      )
  
      file_system_input = Mock()
      record_set.file_system_input = file_system_input
      actual = record_set.data_channel()
      expected = {"train": file_system_input}
      assert actual == expected
  
imports: from __future__ import absolute_import
  import numpy
  import pytest
  from mock import ANY, Mock, patch, call
  from sagemaker import image_uris
  from sagemaker.amazon.pca import PCA
  from sagemaker.amazon.amazon_estimator import upload_numpy_to_s3_shards, _build_shards, FileSystemRecordSet
  from sagemaker.session_settings import SessionSettings
  from tests.unit import DEFAULT_S3_OBJECT_KEY_PREFIX_NAME, DEFAULT_S3_BUCKET_NAME, _test_default_bucket_and_prefix_combinations
label_desc: Use image node_id 21 for calling a global function with example usage: test_file_system_record_set_data_channel() without return types