def test_make_celery_app(): celery_app = pretend.stub() config = pretend.stub(registry={"celery.app": celery_app}) assert tasks._get_celery_app(config) is celery_app