def setUp(self): db.create_all() user = User(email="*****@*****.**", password="******") db.session.add(user) db.session.commit()
def create_db(): """Creates the db tables.""" db.create_all()