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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
