docstr: Tests that the plugin offers the correct routes.
docstr_tok: ["Tests","that","the","plugin","offers","the","correct","routes","."]
code: def test_routes_provided(self):
      """Tests that the plugin offers the correct routes."""
      self.set_up_with_runs([self._RUN_WITH_SCALARS])
      routes = self.plugin.get_plugin_apps()
      self.assertIsInstance(
          routes["/distributions"], collections.abc.Callable
      )
      self.assertIsInstance(routes["/tags"], collections.abc.Callable)
  
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 4 for calling the DistributionsPluginTest obj's underlying member method code with example usage: obj.test_routes_provided() without return types