You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/03/15 13:56:54 UTC

[GitHub] [airflow] potiuk commented on a change in pull request #22213: Issue 20453 google common cloud fixes part 1

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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org