code: def test_classes(app):
      actual = do_autodoc(app, "function", "target.classes.Foo")
      assert list(actual) == [
          "",
          ".. py:function:: Foo()",
          "   :module: target.classes",
          "",
      ]
  
      actual = do_autodoc(app, "function", "target.classes.Bar")
      assert list(actual) == [
          "",
          ".. py:function:: Bar(x, y)",
          "   :module: target.classes",
          "",
      ]
  
      actual = do_autodoc(app, "function", "target.classes.Baz")
      assert list(actual) == [
          "",
          ".. py:function:: Baz(x, y)",
          "   :module: target.classes",
          "",
      ]
  
      actual = do_autodoc(app, "function", "target.classes.Qux")
      assert list(actual) == [
          "",
          ".. py:function:: Qux(foo, bar)",
          "   :module: target.classes",
          "",
      ]
  
imports: from __future__ import annotations
  import typing
  from typing import Union
  import pytest
  from tests.test_extensions.test_ext_autodoc import do_autodoc
label_desc: Use image node_id 1 for calling a global function with example usage: test_classes(app) without return types