def setUp(self): DB.drop_all() # clean up the last tests DB.create_all() # make our sqlalchemy tables
def setUp(self): """ Runs before each test """ DB.drop_all() # clean up the last tests DB.create_all() # create new tables self.app = app.test_client()
def setUp(self): """ Runs before each test """ init_db() DB.drop_all() DB.create_all() self.app = app.test_client()
def setUp(self): Inventory.init_db(app) DB.drop_all() # clean up the last tests DB.create_all() # make our sqlalchemy tables