def tearDown(self): models.db.close_db(None) models.create_db(False, True) redis_connection.flushdb()
def tearDown(self): db.session.remove() db.get_engine(self.app).dispose() self.app_ctx.pop() redis_connection.flushdb()
def setUp(self): super(TestUserDetail, self).setUp() redis_connection.flushdb()