code: def test_load_v8():
      file = tests.frontend.modules.get_test_resources_directory(
          "createbatchfiles/v8.pipeline"
      )
      with open(file, "r") as fd:
          data = fd.read()
  
      pipeline = cellprofiler_core.pipeline.Pipeline()
      pipeline.loadtxt(six.moves.StringIO(data))
      assert len(pipeline.modules()) == 1
      module = pipeline.modules()[0]
      assert module.wants_default_output_directory.value
      assert (
          module.custom_output_directory.value == "/Users/cellprofiler"
      )
      assert not module.remote_host_is_windows.value
      assert (
          module.mappings[0].local_directory.value
          == "/Users/cellprofiler/Pictures"
      )
      assert (
          module.mappings[0].remote_directory.value
          == "/Remote/cellprofiler/Pictures"
      )
  
file_path: CellProfiler/tests/frontend/modules/test_createbatchfiles.py
imports: import sys
  import pytest
  import six.moves
  import cellprofiler_core.module
  import cellprofiler.modules.createbatchfiles
  import cellprofiler_core.pipeline
  import cellprofiler_core.setting
  import tests.frontend.modules
label_desc: Use image node_id 3 for calling a global function with example usage: test_load_v8() without return types