class_docstr: Tests for mesh plugin server.
docstr: Tests that the /meshes route returns correct metadata for meshes.
docstr_tok: ["Tests","that","the","\/meshes","route","returns","correct","metadata","for","meshes","."]
code: def testMetadataRoute(self):
      """Tests that the /meshes route returns correct metadata for meshes."""
      response = self.server.get(
          "/data/plugin/mesh/meshes?run=%s&tag=%s&sample=%d"
          % (self.runs[0], self.names[0], 0)
      )
      self.assertEqual(200, response.status_code)
      metadata = test_utils.deserialize_json_response(
          response.get_data()
      )
      self.assertEqual(len(metadata), self.steps)
      self.assertAllEqual(
          metadata[0]["content_type"],
          plugin_data_pb2.MeshPluginData.VERTEX,
      )
      self.assertAllEqual(
          metadata[0]["data_shape"], self.data[0].vertices.shape
      )
  
imports: import collections.abc
  import os
  import shutil
  import numpy
  import tensorflow
  import time
  from unittest import mock
  from werkzeug import test
  from werkzeug import wrappers
  from tensorboard.backend import application
  from tensorboard.backend.event_processing import data_provider
  from tensorboard.backend.event_processing import plugin_event_multiplexer
  from tensorboard.plugins import base_plugin
  from tensorboard.plugins.mesh import mesh_plugin
  from tensorboard.plugins.mesh import summary
  from tensorboard.plugins.mesh import plugin_data_pb2
  from tensorboard.plugins.mesh import test_utils
  from tensorboard.util import test_util
label_desc: Use image node_id 7 for calling the MeshPluginTest obj's underlying member method code with example usage: obj.testMetadataRoute() without return types