def METHOD_NAME(self):
    """
    Test getting violation counts from truncated and malformed xsslint
    report.
    """
    report = textwrap.dedent("""
        javascript-concat-html: violations
    """)
    with open(self.f.name, 'w') as f:
        f.write(report)
    counts = pavelib.quality._get_xsslint_counts(self.f.name)  # pylint: disable=protected-access
    self.assertDictEqual(counts, {
        'rules': {},
        'total': None,
    })