code: def testSummary(self):
      self._write_summary("output_dir")
      event = self._get_event()
  
      self.assertEqual(1, event.step)
  
      summary_value = event.summary.value[0]
      self.assertEqual(metadata.PLUGIN_NAME, summary_value.tag)
      self.assertEqual(
          "output_dir",
          six.ensure_text(summary_value.tensor.string_val[0], "utf-8"),
      )
      self.assertEqual(
          metadata.PLUGIN_NAME,
          summary_value.metadata.plugin_data.plugin_name,
      )
  
file_path: fairness-indicators/tensorboard_plugin/tensorboard_plugin_fairness_indicators/summary_v2_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import glob
  import os
  from tensorboard_plugin_fairness_indicators import metadata
  from tensorboard_plugin_fairness_indicators import summary_v2
  import six
  import tensorflow.compat.v1
  from tensorboard.compat import tf2
label_desc: Use image node_id 3 for calling the SummaryV2Test obj's underlying member method code with example usage: obj.testSummary() without return types