code: def testEnableDumpDebugInfoLogsTensorDebugModeAsStringName(
      self, tensor_debug_mode
  ):
      log_messages = []
  
      def fake_logging_info(*args):
          log_messages.append(args)
  
      with test.mock.patch.object(
          tf_logging, "info", side_effect=fake_logging_info
      ):
          dumping_callback.enable_dump_debug_info(
              self.dump_root, tensor_debug_mode=tensor_debug_mode
          )
          self.assertLen(log_messages, 1)
          self.assertIn(self.dump_root, log_messages[0])
          self.assertIn(tensor_debug_mode, log_messages[0])
  
imports: import collections
  import os
  import shutil
  import socket
  import tempfile
  import threading
  from absl.testing import parameterized
  import numpy
  from tensorflow.core.protobuf import debug_event_pb2
  from tensorflow.python.debug.lib import debug_events_reader
  from tensorflow.python.debug.lib import dumping_callback
  from tensorflow.python.debug.lib import dumping_callback_test_lib
  from tensorflow.python.eager import context
  from tensorflow.python.eager import def_function
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import googletest
  from tensorflow.python.platform import test
  from tensorflow.python.platform import tf_logging
label_desc: Use image node_id 6 for calling the DumpingCallbackTest obj's underlying member method code with example usage: obj.testEnableDumpDebugInfoLogsTensorDebugModeAsStringName(tensor_debug_mode) without return types