code: def test_repr():
      doc = html_document.HTMLDocument("hello")
      assert "hello" in doc._repr_html_()
      assert "hello" in doc._repr_mimebundle_()["text/html"]
  
file_path: nilearn/nilearn/plotting/tests/test_html_document.py
imports: import time
  import webbrowser
  from unittest.mock import Mock
  import pytest
  import requests
  from numpy.testing import assert_no_warnings
  from nilearn.plotting import html_document
label_desc: Use image node_id 8 for calling a global function with example usage: test_repr() without return types