code: def test_hash(self):
      md1 = base_plugin.FrontendMetadata(element_name="foo")
      md2 = base_plugin.FrontendMetadata(element_name="foo")
      md3 = base_plugin.FrontendMetadata(element_name="bar")
      self.assertEqual(hash(md1), hash(md2))
      # The next check is technically not required by the `__hash__`
      # contract, but _should_ pass; failure on this assertion would at
      # least warrant some scrutiny.
      self.assertNotEqual(hash(md1), hash(md3))
  
file_path: tensorboard/tensorboard/plugins/base_plugin_test.py
imports: from tensorboard import test
  from tensorboard.plugins import base_plugin
label_desc: Use image node_id 5 for calling the FrontendMetadataTest obj's underlying member method code with example usage: obj.test_hash() without return types