code: def testNotFoundGCSBucket(self):
      # When trying to use not existing GCS bucket, test that
      # tf_util.atomic_write_string_to_file raises tf.error.NotFoundError.
      # Other errors that may arise from bad network connectivity are ignored by
      # resolver.atomic_download and retried infinitely.
      module_dir = ""
  
      def dummy_download_fn(handle, tmp_dir):
          del handle, tmp_dir
          return
  
      # Simulate missing GCS bucket by raising NotFoundError in
      # atomic_write_string_to_file.
      with unittest.mock.patch(
          "tensorflow_hub.tf_utils.atomic_write_string_to_file"
      ) as mock_:
          mock_.side_effect = tf.errors.NotFoundError(
              None, None, "Test"
          )
          try:
              resolver.atomic_download(
                  "module", dummy_download_fn, module_dir
              )
              assert False
          except tf.errors.NotFoundError as e:
              self.assertEqual("Test", e.message)
  
imports: import os
  import re
  import socket
  import tempfile
  import threading
  import time
  import unittest
  from unittest import mock
  import uuid
  from absl import flags
  import tensorflow
  import tensorflow_hub
  from tensorflow_hub import compressed_module_resolver
  from tensorflow_hub import config
  from tensorflow_hub import registry
  from tensorflow_hub import resolver
  from tensorflow_hub import test_utils
  from tensorflow_hub import tf_utils
  from tensorflow_hub import uncompressed_module_resolver
label_desc: Use image node_id 13 for calling the CompressedResolverTest obj's underlying member method code with example usage: obj.testNotFoundGCSBucket() without return types