code: def test_autosummary_generate_content_for_module_skipped(app):
      import autosummary_dummy_module
  
      template = Mock()
  
      def skip_member(app, what, name, obj, skip, options):
          if name in ("Foo", "bar", "Exc"):
              return True
          return None
  
      app.connect("autodoc-skip-member", skip_member)
      generate_autosummary_content(
          "autosummary_dummy_module",
          autosummary_dummy_module,
          None,
          template,
          None,
          False,
          app,
          False,
          {},
      )
      context = template.render.call_args[0][1]
      assert context["members"] == [
          "CONSTANT1",
          "CONSTANT2",
          "_Baz",
          "_Exc",
          "__all__",
          "__builtins__",
          "__cached__",
          "__doc__",
          "__file__",
          "__name__",
          "__package__",
          "_quux",
          "non_imported_member",
          "quuz",
          "qux",
      ]
      assert context["functions"] == []
      assert context["classes"] == []
      assert context["exceptions"] == []
  
imports: import sys
  from io import StringIO
  from pathlib import Path
  from unittest.mock import Mock, patch
  import pytest
  from docutils import nodes
  from sphinx import addnodes
  from sphinx.ext.autosummary import autosummary_table, autosummary_toc, extract_summary, import_by_name, mangle_signature
  from sphinx.ext.autosummary.generate import AutosummaryEntry, generate_autosummary_content, generate_autosummary_docs
  from sphinx.ext.autosummary.generate import main
  from sphinx.testing.util import assert_node, etree_parse
  from sphinx.util.docutils import new_document
label_desc: Use image node_id 9 for calling a global function with example usage: test_autosummary_generate_content_for_module_skipped(app) and returns: None, True