harishkrao commented on a change in pull request #22213:
URL: https://github.com/apache/airflow/pull/22213#discussion_r830777402
##########
File path: tests/providers/google/cloud/hooks/test_dataproc.py
##########
@@ -474,7 +474,7 @@ def test_wait_for_job(self, mock_get_job):
mock.call(region=GCP_LOCATION, job_id=JOB_ID,
project_id=GCP_PROJECT),
mock.call(region=GCP_LOCATION, job_id=JOB_ID,
project_id=GCP_PROJECT),
]
- mock_get_job.has_calls(calls)
+ mock_get_job.assert_has_calls(calls, any_order=True)
Review comment:
@uranusjr Removed them from the remaining tests in the PR. Please let me
know if they look good.
--
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]