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


##########
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:
   `conftest.py` it not a good place for store importable stuff, it intends to 
use for configure tests (some things limited by root conftest), define fixtures 
and some other stuff which accessible in `pytest` runtime



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