code: def test_wrapped_markdown_with_nested_list(self):
      rendered = wrapped_markdown(
          """
              ### Docstring with a code block
  
              - And
                  - A nested list
              """
      )
  
      assert (
          """<div class="rich_doc" ><h3>Docstring with a code block</h3>
  <ul>
  <li>And
  <ul>
  <li>A nested list</li>
  </ul>
  </li>
  </ul>
  </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 6 for calling the TestWrappedMarkdown obj's underlying member method code with example usage: obj.test_wrapped_markdown_with_nested_list() without return types