dirrao commented on code in PR #40418:
URL: https://github.com/apache/airflow/pull/40418#discussion_r1654720619
##########
tests/providers/mysql/operators/test_mysql.py:
##########
@@ -139,7 +141,7 @@ class MySqlHookForTests(MySqlHook):
dbapi_hook = MySqlHookForTests()
- class SQLExecuteQueryOperatorForTest(MySqlOperator):
+ class SQLExecuteQueryOperatorForTest(SQLExecuteQueryOperator):
def get_db_hook(self):
return dbapi_hook
Review Comment:
Not required. However, the test case is written in that way to inject the
mocked dbapi_hook.
I have updated it without additional class.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]