holly-evans commented on code in PR #24570:
URL: https://github.com/apache/airflow/pull/24570#discussion_r905337315
##########
tests/hooks/test_dbapi.py:
##########
@@ -44,6 +44,7 @@ def get_conn(self):
return conn
self.db_hook = UnitTestDbApiHook()
+ self.db_hook_log_sql = UnitTestDbApiHook(log_sql=False)
Review Comment:
@uranusjr Sure, I can rename it. I instantiate the hook here because
`UnitTestDbApiHook` is defined here, I could pull it out perhaps? Also
`db_hook_schema_override` is only used in one test and defined here, so I kept
that pattern.
--
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]