code: def test_minimal_html_filename(self):
      w = IntText(4)
  
      tmpd = tempfile.mkdtemp()
  
      try:
          output = os.path.join(tmpd, "test.html")
          state = dependency_state(w, drop_defaults=True)
          embed_minimal_html(
              output, views=w, drop_defaults=True, state=state
          )
          # Check that the file is written to the intended destination:
          with open(output, "r") as f:
              content = f.read()
          assert content.splitlines()[0] == "<!DOCTYPE html>"
      finally:
          shutil.rmtree(tmpd)
  
file_path: catboost/contrib/python/ipywidgets/py2/ipywidgets/tests/test_embed.py
imports: import json
  import os
  import re
  import tempfile
  import shutil
  import traitlets
  from ipywidgets.widgets import IntSlider, IntText, Text, Widget, jslink, HBox, widget_serialization
  from ipywidgets.embed import embed_data, embed_snippet, embed_minimal_html, dependency_state
label_desc: Use image node_id 8 for calling the TestEmbed obj's underlying member method code with example usage: obj.test_minimal_html_filename() without return types