potiuk commented on a change in pull request #22213:
URL: https://github.com/apache/airflow/pull/22213#discussion_r827003373
##########
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:
Also it is strange as the calls seem to be repeated so any order should
not be needed ?
--
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]