code: def test_object_description_sections(app):
      doctree = _doctree_for_test(app.builder, "index")
      # <document>
      #     <index>
      #     <desc>
      #         <desc_signature>
      #             <desc_name>
      #                 func
      #             <desc_parameterlist>
      #         <desc_content>
      #             <section>
      #                 <title>
      #                     Overview
      #                 <paragraph>
      #                     Lorem ipsum dolar sit amet
  
      assert isinstance(doctree[0], addnodes.index)
      assert isinstance(doctree[1], addnodes.desc)
      assert isinstance(doctree[1][0], addnodes.desc_signature)
      assert isinstance(doctree[1][1], addnodes.desc_content)
      assert isinstance(doctree[1][1][0], nodes.section)
      assert isinstance(doctree[1][1][0][0], nodes.title)
      assert doctree[1][1][0][0][0] == "Overview"
      assert isinstance(doctree[1][1][0][1], nodes.paragraph)
      assert doctree[1][1][0][1][0] == "Lorem ipsum dolar sit amet"
  
file_path: sphinx/tests/test_directives/test_directive_object_description.py
imports: import docutils.utils
  import pytest
  from docutils import nodes
  from sphinx import addnodes
  from sphinx.io import create_publisher
  from sphinx.testing import restructuredtext
  from sphinx.util.docutils import sphinx_domains
label_desc: Use image node_id 2 for calling a global function with example usage: test_object_description_sections(app) without return types