code: def finalize(self):
          
          #Determine the percentage success on the unit tests. Also see the total time for all
          #the unit tests.
          stotal = 0
          ttotal = 0
          for test in self.repo.testing.tests:
              stotal += (1 if test["success"]==True else 0)
              ttotal += (test["end"] - test["start"]).seconds
  
          self.percent = stotal/float(len(self.repo.testing.tests))
          self.message = "Results: {0:.2%} in {1:d}s.".format(self.percent, ttotal)
          if not self.testmode:
              if percent < 1:
                  self.commit.create_status("failure", self.url, self.message)
              elif any([test["code"] == 1 for test in self.repo.testing.tests]):
                  self.commit.create_status("pending", self.url, self.message + " Slowdown reported.")
              else:
                  self.commit.create_status("success", self.url, self.message)
          self.server.wiki.update(self)
docs: Finalizes the pull request processing by updating the wiki page with
          details, posting success/failure to the github pull request's commit.