nailo2c commented on code in PR #60734:
URL: https://github.com/apache/airflow/pull/60734#discussion_r2742945531
##########
airflow-core/tests/unit/dag_processing/test_manager.py:
##########
@@ -1138,6 +1152,28 @@ def test_callback_queue(self, mock_get_logger,
configure_testing_dag_bundle):
assert dag1_path not in manager._callback_to_execute
assert dag2_path not in manager._callback_to_execute
+ @mock.patch("airflow.dag_processing.manager.DagBundlesManager")
+ def test_add_callback_initializes_versioned_bundle(self,
mock_bundle_manager):
Review Comment:
Nice catch! Added `test_add_callback_skips_when_bundle_init_fails` to cover
the exception path
--
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]