code: def test_custom_help(tmpdir: Path) -> None:
      result, _err = run_python_script(
          [
              "examples/configure_hydra/custom_help/my_app.py",
              "hydra.run.dir=" + str(tmpdir),
              "hydra.job.chdir=True",
              "--help",
          ]
      )
      expected = dedent(
          """\
              == AwesomeApp ==
  
              This is AwesomeApp!
              You can choose a db driver by appending
              == Configuration groups ==
              Compose your configuration from those groups (db=mysql)
  
              db: mysql, postgresql
  
  
              == Config ==
              This is the config generated for this run.
              You can override everything, for example:
              python my_app.py db.user=foo db.pass=bar
              -------
              db:
                driver: mysql
                user: omry
                pass: secret
  
              -------
  
              Powered by Hydra (https://hydra.cc)
              Use --hydra-help to view Hydra specific help
  """
      )
      assert_text_same(from_line=expected, to_line=result)
  
file_path: hydra/tests/test_examples/test_configure_hydra.py
imports: from pathlib import Path
  from textwrap import dedent
  from typing import Any
  from hydra.test_utils.test_utils import assert_text_same, chdir_hydra_root, run_python_script
label_desc: Use image node_id 1 for calling a global function with example usage: test_custom_help(tmpdir) without return types