I'm using celery in a project without the Django settings modules
It would be great if I could use a CeleryTestCase as follows:
from my_service.app import app
from my_service.tasks import my_task
class MyTaskTestCase(CeleryTestCaseMixin, TestCase):
apps = (app, ) # instead of using Django settings use a specific celery app.
# Should be monkey patched to use the in memory celery queue
def test_my_task(self):
my_task.delay()