bugraoz93 commented on code in PR #45255:
URL: https://github.com/apache/airflow/pull/45255#discussion_r1898742223


##########
providers/tests/celery/cli/test_celery_command.py:
##########
@@ -270,96 +270,196 @@ def test_run_command(self, mock_celery_app):
             ]
         )
 
+    @mock.patch("airflow.cli.commands.daemon_utils.TimeoutPIDLockFile")
+    @mock.patch("airflow.cli.commands.daemon_utils.setup_locations")
+    @mock.patch("airflow.cli.commands.daemon_utils.daemon")
+    @mock.patch("airflow.providers.celery.executors.celery_executor.app")
+    def test_run_command_daemon_v_3_below(
+        self, mock_celery_app, mock_daemon, mock_setup_locations, mock_pid_file
+    ):
+        if not AIRFLOW_V_3_0_PLUS:

Review Comment:
   I used the `pytest skipif`, that was a nice tip! I am monitoring the CI, 
thanks!



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