Exemple #1
0
 def setup(self):
     BuiltinsCase.setup(self)
     self.task = builtins.add_chain_task(self.app)
Exemple #2
0
 def setUp(self):
     self.prev = app.tasks.get('celery.chain')
     self.task = builtins.add_chain_task(app)()