def METHOD_NAME(self, _mock_counts, _mock_report_dir, _mock_write_metric):
    """
    run_xsslint fails when thresholds option is poorly formatted
    """
    _mock_counts.return_value = {'total': 0}
    with pytest.raises(SystemExit):
        call_task('pavelib.quality.run_xsslint', options={"thresholds": '{"invalid": 3}'})