def setUp(self): db.create_all()
def createdb(): """ Creates a database with all of the tables defined in your SQLAlchemy models """ db.create_all()
def setUpClass(self): db.init_app(config={ 'uri': 'sqlite://', }) db.drop_all() db.create_all()
def setUpClass(self): db.init_app(config={ "uri": "sqlite://", }) db.drop_all() db.create_all()