code: def test_discovery() -> None:
      # Test that this config source is discoverable when looking at config sources
      assert ConfigSourceExample.__name__ in [
          x.__name__ for x in Plugins.instance().discover(ConfigSource)
      ]
  
file_path: hydra/examples/plugins/example_configsource_plugin/tests/test_example_config_source.py
imports: from pytest import mark
  from hydra.core.plugins import Plugins
  from hydra.plugins.config_source import ConfigSource
  from hydra.test_utils.config_source_common_tests import ConfigSourceTestSuite
  from hydra_plugins.example_configsource_plugin.example_configsource_plugin import ConfigSourceExample
label_desc: Use image node_id 1 for calling a global function with example usage: test_discovery() without return types