'run_eslint encounters an error parsing the eslint output log'

@patch.object(pavelib.quality, '_write_metric')
@patch.object(pavelib.quality, '_prepare_report_dir')
@patch.object(pavelib.quality, '_get_count_from_last_line')
def test_eslint_violation_number_not_found(self, mock_count, mock_report_dir, mock_write_metric):

    mock_count.return_value = None
    with self.assertRaises(BuildFailure):
        pavelib.quality.run_eslint('')
