code: def test_report_to_html():
      path = "test/test/reports/My-Report--XYZ"
      report = Api().from_path(path)
      report_html = report.to_html(hidden=True)
      assert "test/test/reports/My-Report--XYZ" in report_html
      assert "<button" in report_html
  
imports: from unittest import mock
  import pytest
  import wandb
  from wandb import Api
  from wandb.sdk.artifacts.artifact_download_logger import ArtifactDownloadLogger
  from wandb.sdk.internal.thread_local_settings import _thread_local_api_settings
label_desc: Use image node_id 13 for calling a global function with example usage: test_report_to_html() without return types