code: def testGlob(self):
      temp_dir = self._CreateDeepS3Structure()
      # S3 glob includes subdirectory content, which standard
      # filesystem does not. However, this is good for perf.
      expected = [
          "a.tfevents.1",
          "bar/b.tfevents.1",
          "bar/baz/c.tfevents.1",
          "bar/baz/d.tfevents.1",
          "bar/quux/some_flume_output.txt",
          "bar/quux/some_more_flume_output.txt",
          "bar/red_herring.txt",
          "model.ckpt",
          "quuz/e.tfevents.1",
          "quuz/garply/corge/g.tfevents.1",
          "quuz/garply/f.tfevents.1",
          "quuz/garply/grault/h.tfevents.1",
          "waldo/fred/i.tfevents.1",
      ]
      expected_listing = [self._PathJoin(temp_dir, f) for f in expected]
      gotten_listing = gfile.glob(self._PathJoin(temp_dir, "*"))
      self.assertCountEqual(
          expected_listing,
          gotten_listing,
          "Files must match. Expected %r. Got %r."
          % (expected_listing, gotten_listing),
      )
  
imports: import boto3
  import os
  import unittest
  from moto import mock_s3
  from tensorboard.compat.tensorflow_stub import errors
  from tensorboard.compat.tensorflow_stub.io import gfile
label_desc: Use image node_id 2 for calling the GFileTest obj's underlying member method code with example usage: obj.testGlob() without return types