code: def test_wrapped_markdown_with_collapsible_section(self):
      with conf_vars(
          {("webserver", "allow_raw_html_descriptions"): "true"}
      ):
          rendered = wrapped_markdown(
              """
  # A collapsible section with markdown
  <details>
    <summary>Click to expand!</summary>
  
    ## Heading
    1. A numbered
    2. list
       * With some
       * Sub bullets
  </details>
              """
          )
  
          assert (
              """<div class="rich_doc" ><h1>A collapsible section with markdown</h1>
  <details>
    <summary>Click to expand!</summary>
  <h2>Heading</h2>
  <ol>
  <li>A numbered</li>
  <li>list
  <ul>
  <li>With some</li>
  <li>Sub bullets</li>
  </ul>
  </li>
  </ol>
  </details>
  </div>"""
              == rendered
          )
  
imports: from __future__ import annotations
  import itertools
  import re
  from datetime import datetime
  from unittest.mock import Mock
  from urllib.parse import parse_qs
  import pendulum
  import pytest
  from bs4 import BeautifulSoup
  from markupsafe import Markup
  from airflow.models import DagRun
  from airflow.utils import json
  from airflow.www import utils
  from airflow.www.utils import DagRunCustomSQLAInterface, json_f, wrapped_markdown
  from tests.test_utils.config import conf_vars
label_desc: Use image node_id 7 for calling the TestWrappedMarkdown obj's underlying member method code with example usage: obj.test_wrapped_markdown_with_collapsible_section() without return types