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)
def test_reservation_not_found(self): # Verify response code for exception.ReservationNotFound e = exception.ReservationNotFound() self.assertEqual(e.code, 404)