def RenderDetail(self, url, urlstatsdict, records_bytimestamp, detail):
    if url in urlstatsdict:
      urlstats = urlstatsdict[url]

      revindex = -detail - 1
      ts = urlstats.urlrequestlist[revindex].timestamp
      record = records_bytimestamp[ts]
      ui.render_record(self.response, record)
Test that client killed messages are handled correctly for hunts.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/analytics/main.py/StatsPage.RenderDetail--crossover with--dataset/ETHPy150Open google/grr/grr/lib/flows/general/administrative_test.py/TestAdministrativeFlows.testAlertEmailIsSentWhenClientKilledDuringHunt