docstr: Asserts that logging occurs as expected when deferrable is set to True
code: def test_gcs_object_existence_sensor_execute_complete(self):
      """Asserts that logging occurs as expected when deferrable is set to True"""
      task = GCSObjectExistenceSensor(
          task_id="task-id",
          bucket=TEST_BUCKET,
          object=TEST_OBJECT,
          google_cloud_conn_id=TEST_GCP_CONN_ID,
          deferrable=True,
      )
      with mock.patch.object(task.log, "info") as mock_log_info:
          task.execute_complete(
              context=None,
              event={"status": "success", "message": "Job completed"},
          )
      mock_log_info.assert_called_with(
          "File %s was found in bucket %s.", TEST_OBJECT, TEST_BUCKET
      )
  
imports: from __future__ import annotations
  from datetime import datetime, timedelta, timezone
  from unittest import mock
  import pendulum
  import pytest
  from google.cloud.storage.retry import DEFAULT_RETRY
  from airflow.exceptions import AirflowProviderDeprecationWarning, AirflowSensorTimeout, AirflowSkipException, TaskDeferred
  from airflow.models.dag import DAG, AirflowException
  from airflow.providers.google.cloud.sensors.gcs import GCSObjectExistenceAsyncSensor, GCSObjectExistenceSensor, GCSObjectsWithPrefixExistenceSensor, GCSObjectUpdateSensor, GCSUploadSessionCompleteSensor, ts_function
  from airflow.providers.google.cloud.triggers.gcs import GCSBlobTrigger, GCSCheckBlobUpdateTimeTrigger, GCSPrefixBlobTrigger, GCSUploadSessionTrigger
label_desc: Use image node_id 6 for calling the TestGoogleCloudStorageObjectSensor obj's underlying member method code with example usage: obj.test_gcs_object_existence_sensor_execute_complete() without return types