def test_response(self): e = VdsmException() self.assertEqual(e.response(), {"status": e.info()})
def test_info(self): e = VdsmException() self.assertEqual(e.info(), {"code": 0, "message": str(e)})
def test_str(self): e = VdsmException() self.assertEqual(str(e), e.message)