code: def test_valid_html(m):
      html = m._repr_html_()
      parts = html.split("><")
      assert len(parts) == 7
      assert parts[0].lstrip("<div ") == 'style="width:100%;"'
      assert (
          parts[1].lstrip("<div ")
          == 'style="position:relative;width:100%;height:0;padding-bottom:60%;"'
      )  # noqa
      assert "make this notebook trusted" in parts[2].lower()
      assert parts[3].startswith("iframe")
      assert parts[4] == "/iframe"
      assert parts[5] == "/div"
      assert parts[6] == "/div>"
  
file_path: folium/tests/test_repr.py
imports: import io
  import PIL.Image
  import pytest
  import folium
label_desc: Use image node_id 4 for calling a global function with example usage: test_valid_html(m) without return types