Let's test integration between Zope transactions and celery tasks.
First let's turn off celery's asynchronous behavior so it's easier to check when tasks have been queued:
>>> from celery import Celery >>> celery = Celery('example.celery') >>> celery.conf.CELERY_ALWAYS_EAGER = True >>> celery.conf.BROKER_BACKEND = 'memory'