KaiOnCode opened a new pull request, #72496: URL: https://github.com/apache/airflow/pull/72496
This PR fixes issue #72268 - adding missing tests for sftp exceptions. ## Problem The sftp provider had no dedicated test module for exceptions, and the ConnectionNotOpenedException and handle_connection_management decorator were not covered by tests. ## Solution Added comprehensive tests for: - ConnectionNotOpenedException (derives from AirflowException) - handle_connection_management decorator (raises when no connection, delegates when connection open, uses managed connection) ## Changes - Added providers/sftp/tests/unit/sftp/test_exceptions.py - Removed entry from OVERLOOKED_TESTS in test_project_structure.py ## Testing - All tests pass successfully This pull request includes code written with the assistance of AI. The code has **not yet been reviewed** by a human. -- 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]
