dabla commented on code in PR #38528:
URL: https://github.com/apache/airflow/pull/38528#discussion_r1541033575


##########
tests/providers/conftest.py:
##########
@@ -55,3 +59,32 @@ def hook_conn(request):
             )
 
         yield m
+
+
+def mock_hook(hook_class: type[BaseHook], hook_params=None, conn_params=None):

Review Comment:
   So I just put it in another file then?  Because I've cleaned up a bit the 
test and made a reusable mock across odbc and jdbc tests so we have less 
duplicate code



-- 
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: commits-unsubscr...@airflow.apache.org

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

Reply via email to