Beispiel #1
0
 def test_reservation_not_found(self):
     # Verify response code for exception.ReservationNotFound
     uuid = "fake_uuid"
     e = exception.ReservationNotFound(uuid=uuid)
     self.assertEqual(404, e.code)
Beispiel #2
0
 def test_reservation_not_found(self):
     # Verify response code for exception.ReservationNotFound
     e = exception.ReservationNotFound()
     self.assertEqual(e.code, 404)