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:
[email protected]