code: def test_enrich_filename_template(
      filename_template, file_infos, result
  ):
      actual = write_metadata_utils._enrich_filename_template(
          filename_template=filename_template, file_infos=file_infos
      )
      assert actual == result
  
file_path: datasets/tensorflow_datasets/core/folder_dataset/write_metadata_utils_test.py
imports: import pathlib
  from etils import epath
  import pytest
  from tensorflow_datasets import testing
  from tensorflow_datasets.core import naming
  from tensorflow_datasets.core import read_only_builder
  from tensorflow_datasets.core.folder_dataset import write_metadata_utils
label_desc: Use image node_id 3 for calling a global function with example usage: test_enrich_filename_template(filename_template, file_infos, result) without return types