gopidesupavan commented on code in PR #54598:
URL: https://github.com/apache/airflow/pull/54598#discussion_r2283372203


##########
providers/microsoft/azure/tests/unit/microsoft/azure/hooks/test_msgraph.py:
##########
@@ -208,10 +213,19 @@ def test_api_version(self):
             f"{BASEHOOK_PATCH_PATH}.get_connection",
             side_effect=get_airflow_connection,
         ):
-            hook = KiotaRequestAdapterHook(conn_id="msgraph_api")
+            hook = KiotaRequestAdapterHook(conn_id="msgraph_api", 
api_version=APIVersion.v1.value)
 
             assert hook.api_version == APIVersion.v1.value
 
+    def test_api_version_when_none_is_explicitly_passed_as_api_version(self):
+        with patch(
+            "airflow.hooks.base.BaseHook.get_connection",

Review Comment:
   we should start using `from airflow.hooks.base import BaseHook`. may be in 
this a compat test would be good for AF3 and AF2



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