diff --git a/providers/celery/tests/unit/celery/cli/test_celery_command.py b/providers/celery/tests/unit/celery/cli/test_celery_command.py index cafd48f29a051..5ccc14ffa16e7 100644 --- a/providers/celery/tests/unit/celery/cli/test_celery_command.py +++ b/providers/celery/tests/unit/celery/cli/test_celery_command.py @@ -142,6 +142,7 @@ def setup_class(cls): @mock.patch("airflow.providers.celery.cli.celery_command.setup_locations") @mock.patch("airflow.providers.celery.cli.celery_command.Process") @mock.patch("airflow.providers.celery.executors.celery_executor.app") + @conf_vars({("celery", "pool"): "prefork"}) def test_worker_started_with_required_arguments(self, mock_celery_app, mock_popen, mock_locations): pid_file = "pid_file" mock_locations.return_value = (pid_file, None, None, None)