Taragolis commented on code in PR #35292:
URL: https://github.com/apache/airflow/pull/35292#discussion_r1378562426


##########
tests/providers/google/cloud/operators/test_cloud_storage_transfer_service.py:
##########
@@ -301,6 +318,31 @@ def test_job_create_aws(self, aws_hook, mock_hook):
 
         assert result == VALID_TRANSFER_JOB_AWS
 
+    @mock.patch(
+        
"airflow.providers.google.cloud.operators.cloud_storage_transfer_service.CloudDataTransferServiceHook"
+    )
+    def test_job_create_aws_with_role_arn(self, aws_hook, mock_hook):

Review Comment:
   You've forgot to mock AwsBaseHook, you need to add 
`@mock.patch("airflow.providers.google.cloud.operators.cloud_storage_transfer_service.AwsBaseHook")`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to