erdos2n commented on code in PR #33408:
URL: https://github.com/apache/airflow/pull/33408#discussion_r1294781445
##########
tests/providers/amazon/aws/hooks/test_glue.py:
##########
@@ -90,6 +90,56 @@ class JobNotFoundException(Exception):
assert result is False
mock_conn.get_job.assert_called_once_with(JobName=job_name)
+ @mock.patch.object(GlueJobHook, "get_iam_execution_role")
+ @mock.patch.object(AwsBaseHook, "conn")
+ def test_role_arn_has_job_exists(self, mock_conn,
mock_get_iam_execution_role):
Review Comment:
@vincbeck I've added a test case, let me know if any changes are required.
--
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]