def test_critical_events_in_outputs():
    assert paasta_metastatus.critical_events_in_outputs(
        [
            paasta_metastatus.HealthCheckResult("myservice", True),
            paasta_metastatus.HealthCheckResult("myservice_false", False),
        ]
    ) == [("myservice_false", False)]
def test_critical_events_in_outputs():
    assert (paasta_metastatus.critical_events_in_outputs([('myservice', True), ('myservice_false', False)]) ==
            [('myservice_false', False)])
Beispiel #3
0
def test_critical_events_in_outputs():
    assert (paasta_metastatus.critical_events_in_outputs([
        ('myservice', True), ('myservice_false', False)
    ]) == [('myservice_false', False)])
Beispiel #4
0
def test_critical_events_in_outputs():
    assert (paasta_metastatus.critical_events_in_outputs([
        paasta_metastatus.HealthCheckResult('myservice', True),
        paasta_metastatus.HealthCheckResult('myservice_false', False)
    ]) == [('myservice_false', False)])
def test_critical_events_in_outputs():
    assert paasta_metastatus.critical_events_in_outputs([("myservice", True), ("myservice_false", False)]) == [
        ("myservice_false", False)
    ]