code: def test_figure_html(tmpl):
      f = folium.Figure()
      out = f.render()
      out = os.linesep.join(
          [s.strip() for s in out.splitlines() if s.strip()]
      )
      tmpl = os.linesep.join(
          [s.strip() for s in tmpl.splitlines() if s.strip()]
      )
      assert out == tmpl, "\n" + out + "\n" + "-" * 80 + "\n" + tmpl
  
      bounds = f.get_bounds()
      assert bounds == [[None, None], [None, None]], bounds
  
imports: import json
  import os
  import warnings
  import pytest
  from branca.element import Element
  import folium
  from folium import Choropleth, ClickForMarker, GeoJson, Map, Popup
label_desc: Use image node_id 4 for calling a global function with example usage: test_figure_html(tmpl) without return types