code: def test_discovery() -> None:
      # Tests that this plugin can be discovered via the plugins subsystem when looking at all Plugins
      assert ExamplePlugin.__name__ in [
          x.__name__ for x in Plugins.instance().discover(Plugin)
      ]
  
imports: from hydra.core.plugins import Plugins
  from hydra.plugins.plugin import Plugin
  from hydra_plugins.example_generic_plugin.example_plugin import ExamplePlugin
label_desc: Use image node_id 1 for calling a global function with example usage: test_discovery() without return types