ashb commented on a change in pull request #15581:
URL: https://github.com/apache/airflow/pull/15581#discussion_r633527690



##########
File path: tests/providers/oracle/operators/test_oracle.py
##########
@@ -40,5 +40,7 @@ def test_execute(self, mock_run):
             task_id=task_id,
         )
         operator.execute(context=context)
-
-        mock_run.assert_called_once_with(sql, autocommit=autocommit, 
parameters=parameters)
+        assert len(mock_run.mock_calls) == 1
+        assert mock_run.mock_calls[0].args[1] == sql

Review comment:
       Oh, `.args` doesn't exist on Py3.6




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


Reply via email to