code: def test_file_system_input_default_access_mode():
      file_system_id = "fs-0a48d2a1"
      file_system_type = "EFS"
      directory_path = "tensorflow"
      actual = FileSystemInput(
          file_system_id=file_system_id,
          file_system_type=file_system_type,
          directory_path=directory_path,
      )
      expected = {
          "DataSource": {
              "FileSystemDataSource": {
                  "FileSystemId": file_system_id,
                  "FileSystemType": file_system_type,
                  "DirectoryPath": directory_path,
                  "FileSystemAccessMode": "ro",
              }
          }
      }
      assert actual.config == expected
  
file_path: sagemaker-python-sdk/tests/unit/test_inputs.py
imports: from __future__ import absolute_import
  import pytest
  from sagemaker import TrainingInput
  from sagemaker.inputs import FileSystemInput
label_desc: Use image node_id 4 for calling a global function with example usage: test_file_system_input_default_access_mode() without return types