[Answered ]-Mock async_task of Django-q

1👍

In order to prevent the task from being added to the queue, you need to change the configuration sync to True when the tests are running. You can find more info about the configurations here

Leave a comment