code: def test_fill_html_template():
      fsaverage = fetch_surf_fsaverage()
      mesh = surface.load_surf_mesh(fsaverage["pial_right"])
      surf_map = mesh[0][:, 0]
      img = _get_img()
      info = html_surface._one_mesh_info(
          surf_map,
          fsaverage["pial_right"],
          "90%",
          black_bg=True,
          bg_map=fsaverage["sulc_right"],
      )
      info["title"] = None
      html = html_surface._fill_html_template(info, embed_js=False)
      check_html(html)
      assert "jquery.min.js" in html.html
      info = html_surface._full_brain_info(img)
      info["title"] = None
      html = html_surface._fill_html_template(info)
      check_html(html)
      assert "* plotly.js (gl3d - minified) v1." in html.html
  
file_path: nilearn/nilearn/plotting/tests/test_html_surface.py
imports: import json
  import numpy
  import pytest
  from nilearn import datasets, image, surface
  from nilearn._utils.exceptions import DimensionError
  from nilearn.datasets import fetch_surf_fsaverage
  from nilearn.image import get_data
  from nilearn.plotting import html_surface
  from nilearn.plotting.js_plotting_utils import decode
  from .test_js_plotting_utils import check_colors, check_html
label_desc: Use image node_id 6 for calling a global function with example usage: test_fill_html_template() without return types