def _report_summary(self):
        """Sends the summarized result to the report."""
        self.report.add_heading("Summarized results for %s." % self.__class__.__name__, 3)
        entries = filter(lambda te: te.result is not None, self._tests)
        self.report.add_summary(entries)
        resultmsg = "Aggregate result for %r." % (self.test_name,)
        result = int(self.result)
        if not self._nested:
            if result == constants.PASSED:
                self.report.passed(resultmsg)
            elif result == constants.FAILED:
                self.report.failed(resultmsg)
            elif result == constants.INCOMPLETE:
                self.report.incomplete(resultmsg)
dataset/ETHPy150Open kdart/pycopia/QA/pycopia/QA/core.py/TestSuite._report_summary/original