code: def test_index(self):
      self.set_up_with_runs(
          [
              self._RUN_WITH_SCALARS,
              self._RUN_WITH_LEGACY_DISTRIBUTION,
              self._RUN_WITH_DISTRIBUTION,
          ]
      )
      self.assertEqual(
          {
              # _RUN_WITH_SCALARS omitted: No distribution data.
              self._RUN_WITH_LEGACY_DISTRIBUTION: {
                  self._LEGACY_DISTRIBUTION_TAG: {
                      "displayName": self._LEGACY_DISTRIBUTION_TAG,
                      "description": "",
                  },
              },
              self._RUN_WITH_DISTRIBUTION: {
                  "%s/histogram_summary"
                  % self._DISTRIBUTION_TAG: {
                      "displayName": self._DISPLAY_NAME,
                      "description": self._HTML_DESCRIPTION,
                  },
              },
          },
          self.plugin.index_impl(
              context.RequestContext(), experiment="exp"
          ),
      )
  
imports: import collections.abc
  import os.path
  import tensorflow
  from tensorboard import errors
  from tensorboard import context
  from tensorboard.backend.event_processing import data_provider
  from tensorboard.backend.event_processing import plugin_event_multiplexer
  from tensorboard.backend.event_processing import tag_types
  from tensorboard.plugins import base_plugin
  from tensorboard.plugins.distribution import compressor
  from tensorboard.plugins.distribution import distributions_plugin
  from tensorboard.plugins.histogram import summary
  from tensorboard.util import test_util
label_desc: Use image node_id 5 for calling the DistributionsPluginTest obj's underlying member method code with example usage: obj.test_index() without return types