ephraimbuddy commented on code in PR #54505:
URL: https://github.com/apache/airflow/pull/54505#discussion_r2472941433


##########
task-sdk/tests/task_sdk/bases/test_hook.py:
##########
@@ -85,7 +84,7 @@ def test_get_connection_not_found(self, 
sdk_connection_not_found):
         conn_id = "test_conn"
         hook = BaseHook()
 
-        with pytest.raises(AirflowNotFoundException, match="The conn_id 
`test_conn` isn't defined"):
+        with pytest.raises(RuntimeError, match="The conn_id `test_conn` isn't 
defined"):

Review Comment:
   I will change it to continue using AirflowNotFoundException or do you 
suggest any other exception? Using AirflowNotFoundException would also reduce 
the change size



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