code: def test_prog_name():
      """Assert that the program name is set to `streamlit test`.
  
      This is used by our cli-smoke-tests to verify that the program name is set
      to `streamlit ...` whether the streamlit binary is invoked directly or via
      `python -m streamlit ...`.
      """
      # We use _get_command_line_as_string to run some error checks but don't do
      # anything with its return value.
      _get_command_line_as_string()
  
      parent = click.get_current_context().parent
  
      assert parent is not None
      assert parent.command_path == "streamlit test"
  
imports: import os
  import sys
  from typing import Any, Dict, List, Optional
  import click
  import streamlit.runtime.caching
  import streamlit.runtime.legacy_caching
  import streamlit.web.bootstrap
  from streamlit import config
  from streamlit.config_option import ConfigOption
  from streamlit.runtime.credentials import Credentials, check_credentials
  from streamlit.web.cache_storage_manager_config import create_default_cache_storage_manager
label_desc: Use image node_id 20 for calling a global function with example usage: test_prog_name() without return types