def test_critical_events_in_outputs(): assert metastatus_lib.critical_events_in_outputs( [ metastatus_lib.HealthCheckResult("myservice", True), metastatus_lib.HealthCheckResult("myservice_false", False), ] ) == [("myservice_false", False)]
def test_critical_events_in_outputs(): assert metastatus_lib.critical_events_in_outputs( [ metastatus_lib.HealthCheckResult("myservice", True), metastatus_lib.HealthCheckResult("myservice_false", False), ] ) == [("myservice_false", False)]