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()