code: def test_univariate():
      r = HtmlReport(
          pd.DataFrame(
              {"a": range(24)},
              index=pd.date_range("2010-01-01", periods=24, freq="M"),
          ),
          profiler=mock.create_autospec(spec=BundledProfiler),
          scheduler=mock.create_autospec(spec=Scheduler),
      )
      smts = mock.create_autospec(spec=HtmlBlock)
      suts = mock.create_autospec(spec=HtmlBlock)
      r.SECTIONS = [smts, suts]
      r._multiple_series = [smts]
      r._sequential = [smts, suts]
  
      _ = r.html
      suts.assert_called_once()
      smts.assert_not_called()
  
      assert r.html is not None
      assert r.result is not None
      r.result = "123"
      assert r._html is None
  
file_path: tslumen/tests/unit/report/html/test_report.py
imports: import mock
  import pandas
  from io import StringIO
  from tslumen.report.html import sections
  from tslumen.scheduling import Scheduler
  from tslumen.profile.base import BundledProfiler, BundledResult, BundledResultDetails
  from tslumen.report.html.base import HtmlBlock
  from tslumen.report.html.report import HtmlReport
label_desc: Use image node_id 3 for calling a global function with example usage: test_univariate() without return types