def gen_request(request_id): for i in exceptions: if i.request_id == request_id: return logservice.RequestLog() self.fail()
def gen_request(request_id): # TODO(maruel): Fill up with fake data if found necessary to test edge # cases. self.assertEqual('123', request_id) return logservice.RequestLog()