def setUp(self): app.config['TESTING'] = True app.config['WTF_CSRF_ENABLED'] = False app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///test.db' self.app = app.test_client() #fluppybase.puppy_db_populator.Create_DB() # proper way to build up - currently broken because no db=SQLalchemy(app) db.create_all()
def setUp(self): db.create_all()