orchestrator-core icon indicating copy to clipboard operation
orchestrator-core copied to clipboard

Add the ability to unit test with celery executor

Open tjeerddie opened this issue 2 years ago • 1 comments

It would be great if we can test the application with celery as executor, so we can be sure it works corretly and can prevent issues like #271

Now when setting the EXECUTOR=celery in your .env, tests break with Celery has not been initialised yet error.

tjeerddie avatar May 24 '23 13:05 tjeerddie

The recently released pytest-celery plugin is probably useful here

https://github.com/celery/pytest-celery/releases/tag/v1.0.0 https://docs.celeryq.dev/projects/pytest-celery/en/latest/getting-started/first-steps.html

Mark90 avatar May 21 '24 14:05 Mark90