Source

canvas2dot / test_canvas2dot.py

Full commit
from celery import Celery, chain
celery = Celery()

@celery.task
def add(x, y):
    return x + y


@celery.task
def mul(x, y):
    return x + y


def test_chain():
    chn = chain(add.s(4, 4), mul.s(5))