pytest-services
pytest-services copied to clipboard
Celery worker process
Would it make sense to have way to manage a celery worker in pytest-services? I will implement it either way based on the process helpers in pytest-services and would be happy to contribute it here.
(I have tried the celerytest package and a home-grown approach to start a celery worker in a thread. That is highly unreliable since celery fork()s and everything gets messed up.)
I agree, it might be useful
use watcher_getter as a backend and it's few lines of code
see memcached for example