You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "hussein-awala (via GitHub)" <gi...@apache.org> on 2023/04/17 23:02:05 UTC
[GitHub] [airflow] hussein-awala commented on pull request #30426: [WIP] Add a new config for celery result_backend engine options
hussein-awala commented on PR #30426:
URL: https://github.com/apache/airflow/pull/30426#issuecomment-1512199489
The celery app is created once we import something from the module `celery_executor` so the mock.patch doesn't work.
I was trying to find a simple way to add a new unit test without the executor code, I tried `importlib.reload` and removing the celery app from global dict, and it didn't work, I will try with other solutions.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org