'run_xsslint finds more violations than are allowed'

@patch.object(pavelib.quality, '_write_metric')
@patch.object(pavelib.quality, '_prepare_report_dir')
@patch.object(pavelib.quality, '_get_xsslint_counts')
def test_xsslint_too_many_violations(self, _mock_counts, _mock_report_dir, _mock_write_metric):

    _mock_counts.return_value = {'total': 4}
    with self.assertRaises(SystemExit):
        call_task('pavelib.quality.run_xsslint', options={'thresholds': '{"total":    3}'})
