code: def test_reports_created(fitresult):
      """Verify that the fit reports are created and all headers are present."""
      report_headers = [
          "[[Model]]",
          "[[Fit Statistics]]",
          "[[Variables]]",
          "[[Correlations]] (unreported correlations are < 0.100)",
      ]
  
      report = fitresult.fit_report()
      assert len(report) > 500
      for header in report_headers:
          assert header in report
  
      report1 = fit_report(fitresult)
      for header in report_headers[1:]:
          assert header in report1
  
      html_params = fitresult.params._repr_html_()
      assert len(html_params) > 500
      assert "brute" in html_params
      assert "standard error" in html_params
      assert "relative error" in html_params
  
      html_report = fitresult._repr_html_()
      assert len(html_report) > 1000
      for header in (
          "Model",
          "Fit Statistics",
          "Parameters",
          "Correlations",
      ):
          assert header in html_report
  
imports: import numpy
  import pytest
  import lmfit
  from lmfit import Minimizer, Parameters, ci_report, conf_interval, fit_report, report_ci, report_fit
  from lmfit.lineshapes import gaussian
  from lmfit.models import GaussianModel
  from lmfit.printfuncs import alphanumeric_sort, correl_table, fitreport_html_table, getfloat_attr, gformat
label_desc: Use image node_id 7 for calling a global function with example usage: test_reports_created(fitresult) without return types