docstr: Utility method for checking the return value of the Tags() call.
  
  It fills out the `expected` arg with the default (empty) values for every
  tag type, so that the author needs only specify the non-empty values they
  are interested in testing.
  
  Args:
    actual: The actual Accumulator tags response.
    expected: The expected tags response (empty fields may be omitted)
docstr_tok: ["Utility","method","for","checking","the","return","value","of","the","Tags","(",")","call",".","It","fills","out","the","`","expected","`","arg","with","the","default","(","empty",")","values","for","every","tag","type",",","so","that","the","author","needs","only","specify","the","non-empty","values","they","are","interested","in","testing",".","Args",":","actual",":","The","actual","Accumulator","tags","response",".","expected",":","The","expected","tags","response","(","empty","fields","may","be","omitted",")"]
code: def assertTagsEqual(self, actual, expected):
      """Utility method for checking the return value of the Tags() call.
  
      It fills out the `expected` arg with the default (empty) values for every
      tag type, so that the author needs only specify the non-empty values they
      are interested in testing.
  
      Args:
        actual: The actual Accumulator tags response.
        expected: The expected tags response (empty fields may be omitted)
      """
  
      empty_tags = {
          ea.GRAPH: False,
          ea.META_GRAPH: False,
          ea.RUN_METADATA: [],
          ea.TENSORS: [],
      }
  
      # Verifies that there are no unexpected keys in the actual response.
      # If this line fails, likely you added a new tag type, and need to update
      # the empty_tags dictionary above.
      self.assertCountEqual(actual.keys(), empty_tags.keys())
  
      for key in actual:
          expected_value = expected.get(key, empty_tags[key])
          if isinstance(expected_value, list):
              self.assertCountEqual(actual[key], expected_value)
          else:
              self.assertEqual(actual[key], expected_value)
  
imports: import os
  from unittest import mock
  import numpy
  import tensorflow
  from tensorboard import data_compat
  from tensorboard import dataclass_compat
  from tensorboard.backend.event_processing import plugin_event_accumulator
  from tensorboard.compat.proto import config_pb2
  from tensorboard.compat.proto import event_pb2
  from tensorboard.compat.proto import graph_pb2
  from tensorboard.compat.proto import meta_graph_pb2
  from tensorboard.compat.proto import summary_pb2
  from tensorboard.plugins.audio import metadata
  from tensorboard.plugins.audio import summary
  from tensorboard.plugins.graph import metadata
  from tensorboard.plugins.image import metadata
  from tensorboard.plugins.image import summary
  from tensorboard.plugins.scalar import metadata
  from tensorboard.plugins.scalar import summary
  from tensorboard.util import tb_logging
  from tensorboard.util import tensor_util
  from tensorboard.util import test_util
label_desc: Use image node_id 1 for calling the EventAccumulatorTest obj's underlying member method code with example usage: obj.assertTagsEqual(actual, expected) without return types