def db(app): """A database for the tests.""" with app.app_context(): Message.create_table(safe=True)
def dbinit(): """Create database tables""" Message.create_table(safe=True) FaucetPayment.create_table(safe=True)