def passed(self, result):
        return not (
            result.errors or
            result.failures or
            result.unexpectedSuccesses)
Return ``True`` if result 'passed', i.e. has no fail or error.
dataset/ETHPy150Open python-hospital/hospital/hospital/wsgi.py/HealthCheckApp.passed