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

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to