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 2020/08/18 14:37:34 UTC

[GitHub] [airflow] yesemsanthoshkumar commented on a change in pull request #10343: Add extra links for google dataproc

yesemsanthoshkumar commented on a change in pull request #10343:
URL: https://github.com/apache/airflow/pull/10343#discussion_r472246752



##########
File path: tests/providers/google/cloud/operators/test_dataproc.py
##########
@@ -590,7 +681,7 @@ def test_execute(self, mock_hook, mock_uuid):
             query=self.query,
             variables=self.variables,
         )
-        op.execute(context={})
+        op.execute(context=MagicMock())

Review comment:
       Have added a mock task instance for testing the xcom push. This change is regarding the operator extra links. Please take a look at the updated tests.




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

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