code: def test_enrich_filename_template():
      template = naming.ShardedFileTemplate(data_dir="/path")
      files_per_split = {
          "train": [
              naming.FilenameInfo(
                  dataset_name="mnist",
                  filetype_suffix="tfrecord",
                  split=None,
                  shard_index=None,
                  num_shards=None,
              )
          ],
      }
      actual = compute_split_utils._enrich_filename_template(
          filename_template=template, files_per_split=files_per_split
      )
      assert actual.dataset_name == "mnist"
      assert actual.filetype_suffix == "tfrecord"
  
imports: import pytest
  from tensorflow_datasets import testing
  from tensorflow_datasets.core import naming
  from tensorflow_datasets.core.folder_dataset import compute_split_utils
label_desc: Use image node_id 2 for calling a global function with example usage: test_enrich_filename_template() without return types