def METHOD_NAME(self, _mock_counts, _mock_report_dir, _mock_write_metric):
    """
    run_xsslint encounters an error parsing the xsslint output log for a
    given rule threshold that was set.
    """
    _mock_counts.return_value = {'total': 4}
    with pytest.raises(SystemExit):
        call_task('pavelib.quality.run_xsslint', options={"thresholds": '{"rules": {"javascript-escape": 3}}'})