code: def test_valid_builder_templates(ds_format, ds_builder):
      dataset_info = utils.DatasetInfo(
          name=NAME, in_tfds=True, path=PATH_DIR, data_format=ds_format
      )
      template = builder_templates.create_builder_template(dataset_info)
      assert isinstance(template, str)
      assert ds_builder in template
  
imports: import pathlib
  import pytest
  from tensorflow_datasets.scripts.cli import builder_templates
  from tensorflow_datasets.scripts.cli import cli_utils
label_desc: Use image node_id 1 for calling a global function with example usage: test_valid_builder_templates(ds_format, ds_builder) without return types