docstr: Test the execute function when the run is successful.
docstr_tok: ["Test","the","execute","function","when","the","run","is","successful","."]
code: def test_execute_with_gzip(
      self, gcs_mock_hook, s3_one_mock_hook, s3_two_mock_hook
  ):
      """Test the execute function when the run is successful."""
  
      operator = S3ToGCSOperator(
          task_id=TASK_ID,
          bucket=S3_BUCKET,
          prefix=S3_PREFIX,
          delimiter=S3_DELIMITER,
          gcp_conn_id=GCS_CONN_ID,
          dest_gcs=GCS_PATH_PREFIX,
          gzip=True,
      )
  
      s3_one_mock_hook.return_value.list_keys.return_value = MOCK_FILES
      s3_two_mock_hook.return_value.list_keys.return_value = MOCK_FILES
  
      operator.execute(context={})
      gcs_mock_hook.assert_called_once_with(
          gcp_conn_id=GCS_CONN_ID,
          impersonation_chain=None,
      )
      gcs_mock_hook.return_value.upload.assert_has_calls(
          [
              mock.call(
                  GCS_BUCKET,
                  GCS_PREFIX + MOCK_FILE_1,
                  mock.ANY,
                  gzip=True,
              ),
              mock.call(
                  GCS_BUCKET,
                  GCS_PREFIX + MOCK_FILE_2,
                  mock.ANY,
                  gzip=True,
              ),
              mock.call(
                  GCS_BUCKET,
                  GCS_PREFIX + MOCK_FILE_3,
                  mock.ANY,
                  gzip=True,
              ),
          ],
          any_order=True,
      )
  
imports: from __future__ import annotations
  from unittest import mock
  from unittest.mock import PropertyMock
  import pytest
  import time_machine
  from airflow.exceptions import AirflowException, TaskDeferred
  from airflow.providers.google.cloud.hooks.cloud_storage_transfer_service import CloudDataTransferServiceHook
  from airflow.providers.google.cloud.transfers.s3_to_gcs import S3ToGCSOperator
  from airflow.utils.timezone import utcnow
label_desc: Use image node_id 3 for calling the TestS3ToGoogleCloudStorageOperator obj's underlying member method code with example usage: obj.test_execute_with_gzip(gcs_mock_hook, s3_one_mock_hook, s3_two_mock_hook) without return types