def index(): db.create_task_table() return jsonify({ 'hello': 'world' })
def setUp(self): self.app = app.test_client() self.app.testing = True db.create_task_table()