jscheffl commented on code in PR #63491:
URL: https://github.com/apache/airflow/pull/63491#discussion_r2935583280


##########
providers/celery/tests/unit/celery/executors/test_celery_executor.py:
##########
@@ -166,9 +166,12 @@ def test_exception_propagation(self, caplog):
         assert FAKE_EXCEPTION_MSG in caplog.text, caplog.record_tuples
 
     
@mock.patch("airflow.providers.celery.executors.celery_executor.CeleryExecutor.sync")
-    
@mock.patch("airflow.providers.celery.executors.celery_executor.CeleryExecutor.trigger_tasks")
+    @mock.patch(
+        "airflow.providers.celery.executors.celery_executor.CeleryExecutor."
+        + ("trigger_workloads" if AIRFLOW_V_3_2_PLUS else "trigger_tasks")

Review Comment:
   Note: `AIRFLOW_V_3_2_PLUS` might need to be adjusted if this change does not 
make it into 3.2.0



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