code: def test_help_for_command():
      def my_command():
          """This is my docstring"""
          pass
  
      help_text = help_for_command(my_command)
      assert "my_command" in help_text
      assert "This is my docstring" in help_text
  
imports: import os
  import sys
  import tempfile
  import pprint
  import json
  from collections import OrderedDict
  import pytest
  from sacred import Ingredient, Experiment
  from sacred.commands import COLOR_MODIFIED, ENDC, COLOR_DOC, COLOR_ADDED, COLOR_TYPECHANGED, ConfigEntry, PathEntry, _format_config, _format_entry, help_for_command, _iterate_marked, _format_named_configs, _format_named_config
  from sacred.config import ConfigScope
  from sacred.config.config_summary import ConfigSummary
  import sacred.optional
label_desc: Use image node_id 9 for calling a global function with example usage: test_help_for_command() without return types