I'd like to invoke celery tasks synchronously during my Django tests without need to run celery worker. To achieve this I have specified
In celery 4.0 configuration parameters has changed,
Try these instead in your tests,
@override_settings( task_eager_propagates=True, task_always_eager=True, broker_url='memory://', backend='memory' )
I was facing same issue, solved using new lowercase names for tests as well as in default celery settings.
Here is new settings to original settings map,
Celery settings change info: