@patch('treeherder.perf.auto_perf_sheriffing.outcome_checker.get_job_type')
def test_failed_job_means_failed_outcome(self, mock_get_job_type, record_backfilled, outcome_checking_pushes, jobs_with_one_failed):
    mock_get_job_type.return_value = JOB_TYPE_ID
    outcome_checker = OutcomeChecker()
    response = outcome_checker.check(record_backfilled)
    assert (response == OutcomeStatus.FAILED)
@patch('treeherder.perf.auto_perf_sheriffing.outcome_checker.get_job_type')
def test_failed_job_means_failed_outcome(self, mock_get_job_type, record_backfilled, outcome_checking_pushes, jobs_with_one_failed):
    mock_get_job_type.return_value = JOB_TYPE_ID
    outcome_checker = OutcomeChecker()
    response = outcome_checker.check(record_backfilled)
    assert (response == OutcomeStatus.FAILED)