code: def test_discovery() -> None:
      """
      Tests that this plugin can be discovered via the plugins subsystem when looking for Sweeper
      :return:
      """
      assert AxSweeper.__name__ in [
          x.__name__ for x in Plugins.instance().discover(Sweeper)
      ]
  
imports: import math
  import os
  from pathlib import Path
  from typing import Any, List
  from hydra.core.plugins import Plugins
  from hydra.plugins.sweeper import Sweeper
  from hydra.test_utils.test_utils import TSweepRunner, chdir_plugin_root, run_python_script
  from omegaconf import DictConfig, OmegaConf
  from pytest import mark, raises
  from hydra_plugins.hydra_ax_sweeper.ax_sweeper import AxSweeper
label_desc: Use image node_id 1 for calling a global function with example usage: test_discovery() without return types