def setUp(self):
     db.create_all()
     self.app.config['CELERY_ALWAYS_EAGER'] = True
     self.app.config['BROKER_BACKEND'] = 'memory'
     self.app.config['CELERY_EAGER_PROPAGATES_EXCEPTIONS'] = True
Exemplo n.º 2
0
 def setUp(self):
     db.create_all()
 def setUp(self):
     db.create_all()
     self.app.config['CELERY_ALWAYS_EAGER'] = True
     self.app.config['BROKER_BACKEND'] = 'memory'
     self.app.config['CELERY_EAGER_PROPAGATES_EXCEPTIONS'] = True
 def setUp(self):
     db.create_all()