示例#1
0
def test_status_for_results():
    assert paasta_metastatus.status_for_results([
        paasta_metastatus.HealthCheckResult(
            message='message',
            healthy=True
        ),
        paasta_metastatus.HealthCheckResult(
            message='message',
            healthy=False
        )
    ]) == [True, False]
def test_status_for_results():
    assert paasta_metastatus.status_for_results([("message", True), ("message", False)]) == [True, False]
示例#3
0
def test_status_for_results():
    assert paasta_metastatus.status_for_results([
        paasta_metastatus.HealthCheckResult(message='message', healthy=True),
        paasta_metastatus.HealthCheckResult(message='message', healthy=False)
    ]) == [True, False]
示例#4
0
def test_status_for_results():
    assert paasta_metastatus.status_for_results([('message', True),
                                                 ('message', False)
                                                 ]) == [True, False]