'run_xsscommitlint encounters an error parsing the xsscommitlint output
log.'

@patch.object(pavelib.quality, '_write_metric')
@patch.object(pavelib.quality, '_prepare_report_dir')
@patch.object(pavelib.quality, '_get_xsscommitlint_count')
def test_xsscommitlint_violation_number_not_found(self, _mock_count, _mock_report_dir, _mock_write_metric):

    _mock_count.return_value = None
    with self.assertRaises(SystemExit):
        call_task('pavelib.quality.run_xsscommitlint')
