def METHOD_NAME(self):
    for s in (TestStatus.ERRORED, TestStatus.FAILED):
        if self.get_status_nums(s):
            return s
    if self._cases and any(c.METHOD_NAME == TestStatus.PASSED for c in self._cases):
        return TestStatus.PASSED
    return TestStatus.SKIPPED