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/17 20:35:31 UTC

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

harishkrao commented on a change in pull request #22213:
URL: https://github.com/apache/airflow/pull/22213#discussion_r829479882



##########
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 @potiuk Agreed, removed it and re-ran the tests, they succeeded. Pushed the changes.




-- 
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