def METHOD_NAME():
    file = tests.modules.get_test_resources_directory("createbatchfiles/v7.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 isinstance(module, cellprofiler.modules.createbatchfiles.CreateBatchFiles)
    assert module.wants_default_output_directory
    assert module.custom_output_directory.value == r"C:\foo\bar"
    assert not module.remote_host_is_windows
    assert not module.distributed_mode
    assert module.default_image_directory == r"C:\bar\baz"
    assert module.revision == 0
    assert not module.from_old_matlab
    assert len(module.mappings) == 1
    mapping = module.mappings[0]
    assert mapping.local_directory == r"\\argon-cifs\imaging_docs"
    assert mapping.remote_directory == r"/imaging/docs"