Beispiel #1
0
 def test_response(self):
     e = VdsmException()
     self.assertEqual(e.response(),
                      {"status": {
                          "code": 0,
                          "message": "Vdsm Exception"
                      }})
Beispiel #2
0
 def test_response(self):
     e = VdsmException()
     self.assertEqual(e.response(), {"status": e.info()})