code: def testDebugDumpDir_usesGfileGlob(self):
      if platform.system() == "Windows":
          self.skipTest("gfile.Glob is not used on Windows.")
  
      self._makeDataDirWithMultipleDevicesAndDuplicateNodeNames()
  
      def fake_gfile_glob(glob_pattern):
          del glob_pattern
          return []
  
      with test.mock.patch.object(
          gfile, "Glob", side_effect=fake_gfile_glob, autospec=True
      ) as fake:
          debug_data.DebugDumpDir(self._dump_root)
          expected_calls = [
              test.mock.call(
                  os.path.join(
                      self._dump_root,
                      (
                          debug_data.METADATA_FILE_PREFIX
                          + debug_data.CORE_METADATA_TAG
                          + "*"
                      ),
                  )
              ),
              test.mock.call(
                  os.path.join(
                      self._dump_root,
                      (
                          debug_data.METADATA_FILE_PREFIX
                          + debug_data.FETCHES_INFO_FILE_TAG
                          + "*"
                      ),
                  )
              ),
              test.mock.call(
                  os.path.join(
                      self._dump_root,
                      (
                          debug_data.METADATA_FILE_PREFIX
                          + debug_data.FEED_KEYS_INFO_FILE_TAG
                          + "*"
                      ),
                  )
              ),
              test.mock.call(
                  os.path.join(
                      self._dump_root,
                      (
                          debug_data.METADATA_FILE_PREFIX
                          + debug_data.DEVICE_TAG
                          + "*"
                      ),
                  )
              ),
          ]
          fake.assert_has_calls(expected_calls, any_order=True)
  
imports: import os
  import platform
  import tempfile
  import numpy
  from tensorflow.core.framework import graph_pb2
  from tensorflow.core.framework import tensor_pb2
  from tensorflow.python.debug.lib import debug_data
  from tensorflow.python.framework import test_util
  from tensorflow.python.lib.io import file_io
  from tensorflow.python.platform import gfile
  from tensorflow.python.platform import googletest
  from tensorflow.python.platform import test
label_desc: Use image node_id 9 for calling the DebugDumpDirTest obj's underlying member method code with example usage: obj.testDebugDumpDir_usesGfileGlob() and returns: list