code: def test_display_html_opens_html_file(tmp_path, monkeypatch):
      html_file = tmp_path / "test.html"
      html_file.write_text(
          "<!DOCTYPE html><html><body><p>Hey</p></body></html>"
      )
      with mock.patch(
          "subprocess.run"
      ) as patched_subprocess, mock.patch(
          "shutil.which", return_value=True
      ):
          monkeypatch.delenv("GITHUB_ACTIONS", raising=False)
          display_html(html_file_path=html_file)
          patched_subprocess.assert_called_once()
  
file_path: mlflow/tests/recipes/test_step_utils.py
imports: from unittest import mock
  import numpy
  import pytest
  from pandas import DataFrame
  import mlflow.recipes.utils.step
  from mlflow.exceptions import MlflowException
  from mlflow.recipes.cards import pandas_renderer
  from mlflow.recipes.utils.step import display_html, get_merged_eval_metrics, get_pandas_data_profiles, truncate_pandas_data_profile
label_desc: Use image node_id 3 for calling a global function with example usage: test_display_html_opens_html_file(tmp_path, monkeypatch) without return types