-
Have recently integrated procrastinate as a basic job queue system in a django project. Has been a pleasure so far 🙌 What's unclear to me - can one actually test task execution, and not just creation? Is there a way to run a worker within an integration test? More context: Using Django's |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Yes, you can run a worker in your integration tests, e.g. through
|
Beta Was this translation helpful? Give feedback.
-
Thanks @ewjoachim! It seems to be working fine locally. One note for anyone who runs into this: I believe you need to use Below is working example
|
Beta Was this translation helpful? Give feedback.
yes definitely! I just opened up a PR here:
#1046