from gearopedia import db # create the database and the db table db.create_all() # insert data # commit the changes db.session.commit()
def setUp(self): db.create_all()