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]
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]