class_docstr: Tests for mesh plugin server.
docstr: Tests that the /data route returns correct data for meshes.
docstr_tok: ["Tests","that","the","\/data","route","returns","correct","data","for","meshes","."]
code: def testDataRoute(self):
      """Tests that the /data route returns correct data for meshes."""
      self.validate_data_response(
          self.runs[0],
          self.names[0],
          0,
          "VERTEX",
          np.float32,
          self.data[0].vertices,
      )
  
      self.validate_data_response(
          self.runs[0],
          self.names[1],
          0,
          "FACE",
          np.int32,
          self.data[1].faces,
      )
  
      # Validate that the same summary has mesh with different number of faces at
      # different step=1.
      self.validate_data_response(
          self.runs[0],
          self.names[1],
          0,
          "FACE",
          np.int32,
          self.data[2].faces,
          step=1,
      )
  
      self.validate_data_response(
          self.runs[0],
          self.names[2],
          0,
          "COLOR",
          np.uint8,
          self.data[3].colors,
      )
  
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 6 for calling the MeshPluginTest obj's underlying member method code with example usage: obj.testDataRoute() without return types